summaryrefslogtreecommitdiff
path: root/development/qt-creator/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 16:19:59 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:43 -0500
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
+