summaryrefslogtreecommitdiff
path: root/games/garden/doinst.sh
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2013-06-18 13:49:55 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-22 21:32:52 -0300
commitdd0687b1c8f5b004f10b70b052ff7fbc6de1fa11 (patch)
tree46376e440586157cc4b756060274bc56b62c5f6b /games/garden/doinst.sh
parent466d423c7c56037e6177c1aee97bd426bf0ab071 (diff)
downloadslackbuilds-dd0687b1c8f5b004f10b70b052ff7fbc6de1fa11.tar.gz
games/garden: Added (2D vertical shoot-em-up game)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/garden/doinst.sh')
-rw-r--r--games/garden/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/garden/doinst.sh b/games/garden/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/garden/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