summaryrefslogtreecommitdiff
path: root/games/abuse/doinst.sh
diff options
context:
space:
mode:
authorRex Hauser <thundermachinegun@gmail.com>2011-06-29 18:24:30 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-06-29 18:24:30 -0300
commitc974f927714308bf0bc5599741ac5448b4ac951d (patch)
treebfcfd6b3742ead16f43558ea7db511b1a9fd9ff0 /games/abuse/doinst.sh
parent95e5870ef760d392bbc5196f15da3b011a16add3 (diff)
downloadslackbuilds-c974f927714308bf0bc5599741ac5448b4ac951d.tar.gz
games/abuse: Added (dark 2D side-scrolling platform game)
Diffstat (limited to 'games/abuse/doinst.sh')
-rw-r--r--games/abuse/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/abuse/doinst.sh b/games/abuse/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/abuse/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