summaryrefslogtreecommitdiffstats
path: root/development/qt-creator/doinst.sh
diff options
context:
space:
mode:
author dsomero2012-09-29 22:19:59 +0200
committer Robby Workman2012-09-30 00:17:43 +0200
commitd9f33a22102f1d00dd7a884c967979c9420c0ec8 (patch)
tree9f265b8ac33632e12f27a7369d9a2782c67ba70a /development/qt-creator/doinst.sh
parent313315e54b5bd0fd93cee3842d9443c916c7ec46 (diff)
downloadslackbuilds-d9f33a22102f1d00dd7a884c967979c9420c0ec8.tar.gz
development/qt-creator: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/qt-creator/doinst.sh')
-rw-r--r--development/qt-creator/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/development/qt-creator/doinst.sh b/development/qt-creator/doinst.sh
index 4e8ba7071d..1f8ff67ded 100644
--- a/development/qt-creator/doinst.sh
+++ b/development/qt-creator/doinst.sh
@@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q 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
+