summaryrefslogtreecommitdiffstats
path: root/graphics/scantailor/doinst.sh
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2012-09-29 18:53:48 -0400
committer Robby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:02 -0500
commit96e741e058e48cf8ac2df0bdc8846c524b0ecbc1 (patch)
tree6123e5d9d69a5ebe0fb31e0fed2c1ab4af23b648 /graphics/scantailor/doinst.sh
parenta0bf5038b616c22e26ef3b55d50520a48c108106 (diff)
downloadslackbuilds-96e741e058e48cf8ac2df0bdc8846c524b0ecbc1.tar.gz
slackbuilds-96e741e058e48cf8ac2df0bdc8846c524b0ecbc1.tar.xz
graphics/scantailor: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/scantailor/doinst.sh')
-rw-r--r--graphics/scantailor/doinst.sh8
1 files changed, 7 insertions, 1 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