aboutsummaryrefslogtreecommitdiff
path: root/games/cgmadness/doinst.sh
diff options
context:
space:
mode:
authorZbigniew Baniewski <zbigniew.baniewski@gmail.com>2012-12-19 19:58:49 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-19 19:59:09 +0100
commit7d6c2e473d3eea74b0d2d184f0b6596b2456f9ea (patch)
treed067c3794398a94192730664d422b53063c0c301 /games/cgmadness/doinst.sh
parentf0a2380b1c22216f31a63031daa48b821878b396 (diff)
games/cgmadness: Added (Marble Madness-like game).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/cgmadness/doinst.sh')
-rw-r--r--games/cgmadness/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/cgmadness/doinst.sh b/games/cgmadness/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/games/cgmadness/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