summaryrefslogtreecommitdiffstats
path: root/misc/goldencheetah/doinst.sh
diff options
context:
space:
mode:
author Kyle Guinn <elyk03@gmail.com>2020-05-19 02:18:51 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-23 09:32:04 +0700
commit9af7a5e36ec69da16653dd6a35d55e315d6442fe (patch)
treee4b89610c0992139044a8a856f3eac0a9ff0d50f /misc/goldencheetah/doinst.sh
parent5eb11bb064f93e5f02d6fff2e6343cb21f16f678 (diff)
downloadslackbuilds-9af7a5e36ec69da16653dd6a35d55e315d6442fe.tar.gz
slackbuilds-9af7a5e36ec69da16653dd6a35d55e315d6442fe.tar.xz
misc/goldencheetah: Added desktop file and icons.
Thanks to Marek Šrejma for the suggestions. Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/goldencheetah/doinst.sh')
-rw-r--r--misc/goldencheetah/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/goldencheetah/doinst.sh b/misc/goldencheetah/doinst.sh
new file mode 100644
index 0000000000..4a25de5e6f
--- /dev/null
+++ b/misc/goldencheetah/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+