aboutsummaryrefslogtreecommitdiff
path: root/games/KAdventure/doinst.sh
diff options
context:
space:
mode:
authorTim Dickson <dickson.tim@googlemail.com>2015-09-10 20:43:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-10 20:43:25 +0700
commit167d7118ba027cacefe662c452e3258b53a6910a (patch)
tree90fab79a2be8bd643079a5ea63ad12a928cba429 /games/KAdventure/doinst.sh
parent2c9d6208d06455e859538e3de6b060793e17a7a0 (diff)
games/KAdventure: Added (a simple 2D qt puzzle game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/KAdventure/doinst.sh')
-rw-r--r--games/KAdventure/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/KAdventure/doinst.sh b/games/KAdventure/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/games/KAdventure/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