summaryrefslogtreecommitdiff
path: root/games/gbrainy/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2011-02-06 03:15:14 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-06 03:15:14 -0600
commitf860b16a475f6788f5f2b785f9421bcdf1c8bff0 (patch)
tree51aae85aa9cc69aee84453d87f08c3e60503c21c /games/gbrainy/doinst.sh
parent441e4ab66f6ac0e0579f6b82fc4f7e2d9a07a10b (diff)
downloadslackbuilds-f860b16a475f6788f5f2b785f9421bcdf1c8bff0.tar.gz
games/gbrainy: Added (a brain teaser game and trainer)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/gbrainy/doinst.sh')
-rw-r--r--games/gbrainy/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/gbrainy/doinst.sh b/games/gbrainy/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/games/gbrainy/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+