summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-09-08 21:29:00 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-09-12 23:07:58 -0500
commite103dcf5b6c9584330aa3b852a646e06c2ba422e (patch)
tree81a367f472ae94dd9a5275e96f6d4bd58f95e30b
parentb671628051f2a58a339b8cb6a7accdd5e28ee633 (diff)
downloadslackbuilds-e103dcf5b6c9584330aa3b852a646e06c2ba422e.tar.gz
graphics/inkscape: Update hicolor icon-cache in doinst.sh
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--graphics/inkscape/doinst.sh6
-rw-r--r--graphics/inkscape/inkscape.SlackBuild2
2 files changed, 7 insertions, 1 deletions
diff --git a/graphics/inkscape/doinst.sh b/graphics/inkscape/doinst.sh
index 65fd352418..a8c38c8a58 100644
--- a/graphics/inkscape/doinst.sh
+++ b/graphics/inkscape/doinst.sh
@@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database 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
+
diff --git a/graphics/inkscape/inkscape.SlackBuild b/graphics/inkscape/inkscape.SlackBuild
index 1f83db2bce..b641847b3b 100644
--- a/graphics/inkscape/inkscape.SlackBuild
+++ b/graphics/inkscape/inkscape.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=inkscape
VERSION=0.48.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on: