aboutsummaryrefslogtreecommitdiff
path: root/graphics/scantailor
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 18:53:48 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:02 -0500
commit96e741e058e48cf8ac2df0bdc8846c524b0ecbc1 (patch)
tree6123e5d9d69a5ebe0fb31e0fed2c1ab4af23b648 /graphics/scantailor
parenta0bf5038b616c22e26ef3b55d50520a48c108106 (diff)
graphics/scantailor: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/scantailor')
-rw-r--r--graphics/scantailor/doinst.sh8
-rw-r--r--graphics/scantailor/scantailor.SlackBuild4
2 files changed, 8 insertions, 4 deletions
diff --git a/graphics/scantailor/doinst.sh b/graphics/scantailor/doinst.sh
index 01ca62b34190..3e5691a052b5 100644
--- a/graphics/scantailor/doinst.sh
+++ b/graphics/scantailor/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi \ No newline at end of file
+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
diff --git a/graphics/scantailor/scantailor.SlackBuild b/graphics/scantailor/scantailor.SlackBuild
index f17e95d17ea7..fa3dd0ba58bf 100644
--- a/graphics/scantailor/scantailor.SlackBuild
+++ b/graphics/scantailor/scantailor.SlackBuild
@@ -6,15 +6,13 @@
PRGNAM=scantailor
VERSION=${VERSION:-0.9.11.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