games/vbam: Added icon-theme and desktop file updating to doinst.sh

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2011-11-16 17:39:14 +01:00 committed by Robby Workman
parent e5ae53563c
commit da6365ea18
2 changed files with 11 additions and 1 deletions

View file

@ -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

View file

@ -20,7 +20,7 @@
PRGNAM=vbam
VERSION=r1001
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then