summaryrefslogtreecommitdiff
path: root/games/vbam/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2011-11-16 17:39:14 +0100
committerRobby Workman <rworkman@slackbuilds.org>2011-11-26 09:09:30 -0600
commitda6365ea18c04c80148a378e2e56be10b6d948cd (patch)
tree454029e3aa5dfd441d67b60b699e1b4fb51334aa /games/vbam/doinst.sh
parente5ae53563c449651c40e334fdbb8036f62c1baba (diff)
downloadslackbuilds-da6365ea18c04c80148a378e2e56be10b6d948cd.tar.gz
games/vbam: Added icon-theme and desktop file updating to doinst.sh
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'games/vbam/doinst.sh')
-rw-r--r--games/vbam/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/vbam/doinst.sh b/games/vbam/doinst.sh
index dd52706baa..1e7838b341 100644
--- a/games/vbam/doinst.sh
+++ b/games/vbam/doinst.sh
@@ -11,5 +11,15 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
+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
+
config etc/vbam.cfg.new