summaryrefslogtreecommitdiff
path: root/games/abe
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 16:54:09 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:43 -0500
commit5a4dba05e2d0f4e1eb44ded18e96bb564d1417e6 (patch)
treef0b2cf4b816f8f21fed99b5d0e50c070aaf284a2 /games/abe
parente7311dda074e32c69fa73cc7d316ca1559b272de (diff)
downloadslackbuilds-5a4dba05e2d0f4e1eb44ded18e96bb564d1417e6.tar.gz
games/abe: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/abe')
-rw-r--r--games/abe/abe.SlackBuild4
-rw-r--r--games/abe/doinst.sh5
2 files changed, 6 insertions, 3 deletions
diff --git a/games/abe/abe.SlackBuild b/games/abe/abe.SlackBuild
index 383c892c0a..f7edbe7816 100644
--- a/games/abe/abe.SlackBuild
+++ b/games/abe/abe.SlackBuild
@@ -4,15 +4,13 @@
PRGNAM=abe
VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
diff --git a/games/abe/doinst.sh b/games/abe/doinst.sh
index 4e8ba7071d..3e5691a052 100644
--- a/games/abe/doinst.sh
+++ b/games/abe/doinst.sh
@@ -2,3 +2,8 @@ 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