summaryrefslogtreecommitdiff
path: root/games/neverball/doinst.sh
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-12 17:39:24 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:39:24 +0200
commite216569ee50365e8dd13ff90638a90cc45c7f9f7 (patch)
treefeac5b86839f2b6e1dbe7abdeb1bf7416d4a1f69 /games/neverball/doinst.sh
parent9e878102fd577ca51661fa82fedc414677f2296f (diff)
downloadslackbuilds-e216569ee50365e8dd13ff90638a90cc45c7f9f7.tar.gz
games/neverball: Updated for version 1.5.1
Diffstat (limited to 'games/neverball/doinst.sh')
-rw-r--r--games/neverball/doinst.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/neverball/doinst.sh b/games/neverball/doinst.sh
index 854e20633d..5525db8a53 100644
--- a/games/neverball/doinst.sh
+++ b/games/neverball/doinst.sh
@@ -1,3 +1,9 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database -q usr/share/applications
+if [ -x usr/bin/update-desktop-database ]; then
+ usr/bin/update-desktop-database -q usr/share/applications
+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