summaryrefslogtreecommitdiff
path: root/games/gottet/doinst.sh
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2014-07-28 19:04:36 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:32:42 +0700
commitcc2418d7293eb269cc4f3b54ac965601063bc342 (patch)
tree54c5a833d8b51b47239832cde160133add3aad55 /games/gottet/doinst.sh
parentadbbab2b1eaaa9194d35f031a9aa3168c0d19dbd (diff)
downloadslackbuilds-cc2418d7293eb269cc4f3b54ac965601063bc342.tar.gz
games/gottet: Added (A basic tetris clone)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'games/gottet/doinst.sh')
-rw-r--r--games/gottet/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/gottet/doinst.sh b/games/gottet/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/gottet/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