aboutsummaryrefslogtreecommitdiff
path: root/games/barrage/doinst.sh
diff options
context:
space:
mode:
authorZbigniew Baniewski <zbigniew.baniewski@gmail.com>2012-12-18 11:33:44 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-18 11:34:01 +0100
commit88fdbde17d90c8fbc5e16f31f9088f15056fe8fa (patch)
treeccbe0366eb3f4057a84ac987e412aaf9c28861a9 /games/barrage/doinst.sh
parentf44b5e7d97545737368f32b0a175dc3121ecce50 (diff)
games/barrage: Added (action game).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/barrage/doinst.sh')
-rw-r--r--games/barrage/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/barrage/doinst.sh b/games/barrage/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/games/barrage/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