summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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