summaryrefslogtreecommitdiff
path: root/graphics/inkscape/doinst.sh
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 /graphics/inkscape/doinst.sh
parentb671628051f2a58a339b8cb6a7accdd5e28ee633 (diff)
downloadslackbuilds-e103dcf5b6c9584330aa3b852a646e06c2ba422e.tar.gz
graphics/inkscape: Update hicolor icon-cache in doinst.sh
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'graphics/inkscape/doinst.sh')
-rw-r--r--graphics/inkscape/doinst.sh6
1 files changed, 6 insertions, 0 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
+