summaryrefslogtreecommitdiff
path: root/games/opendune/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-11-02 20:24:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-02 20:24:36 +0700
commit930a3a05c12c1332a2f4f4d0e12d8a4cd087117b (patch)
tree6a10776354f638468897930ae365de1c6c3c7eac /games/opendune/doinst.sh
parentbda4a957dbfc643d79ab3f7145a7c5a984ee5424 (diff)
downloadslackbuilds-930a3a05c12c1332a2f4f4d0e12d8a4cd087117b.tar.gz
games/opendune: Added (realtime strategy game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/opendune/doinst.sh')
-rw-r--r--games/opendune/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/opendune/doinst.sh b/games/opendune/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/opendune/doinst.sh
@@ -0,0 +1,9 @@
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi