summaryrefslogtreecommitdiff
path: root/graphics/scantailor/doinst.sh
diff options
context:
space:
mode:
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