From 5a4dba05e2d0f4e1eb44ded18e96bb564d1417e6 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 16:54:09 -0400 Subject: games/abe: Fixed (Handle icon files) Signed-off-by: dsomero --- games/abe/abe.SlackBuild | 4 +--- games/abe/doinst.sh | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'games/abe') 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 -- cgit v1.2.3