summaryrefslogtreecommitdiff
path: root/graphics/scantailor
diff options
context:
space:
mode:
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 01ca62b341..3e5691a052 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 f17e95d17e..fa3dd0ba58 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