From da6365ea18c04c80148a378e2e56be10b6d948cd Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Wed, 16 Nov 2011 17:39:14 +0100 Subject: games/vbam: Added icon-theme and desktop file updating to doinst.sh Signed-off-by: Heinz Wiesinger --- games/vbam/doinst.sh | 10 ++++++++++ games/vbam/vbam.SlackBuild | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'games/vbam') diff --git a/games/vbam/doinst.sh b/games/vbam/doinst.sh index dd52706baaf8..1e7838b34181 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 diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild index 7e67e748bfac..177dbbf81dcf 100644 --- a/games/vbam/vbam.SlackBuild +++ b/games/vbam/vbam.SlackBuild @@ -20,7 +20,7 @@ PRGNAM=vbam VERSION=r1001 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then -- cgit v1.2.3