diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 16:54:09 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-29 17:17:43 -0500 |
commit | 5a4dba05e2d0f4e1eb44ded18e96bb564d1417e6 (patch) | |
tree | f0b2cf4b816f8f21fed99b5d0e50c070aaf284a2 | |
parent | e7311dda074e32c69fa73cc7d316ca1559b272de (diff) | |
download | slackbuilds-5a4dba05e2d0f4e1eb44ded18e96bb564d1417e6.tar.gz |
games/abe: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | games/abe/abe.SlackBuild | 4 | ||||
-rw-r--r-- | games/abe/doinst.sh | 5 |
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 |