summaryrefslogtreecommitdiffstats
path: root/libraries/qt5/doinst.sh
diff options
context:
space:
mode:
author Larry Hajali2013-12-16 06:39:45 +0100
committer Erik Hanson2013-12-17 18:00:31 +0100
commit64e3484c8e02bf5f8698dd6c8a8bbea47c05fb30 (patch)
tree13dd11802d47d331f590e87aab7c28db50d958b3 /libraries/qt5/doinst.sh
parentc8db3823bedcfb6ed6aed3880f59e2ff6beed7ed (diff)
downloadslackbuilds-64e3484c8e02bf5f8698dd6c8a8bbea47c05fb30.tar.gz
libraries/qt5: Added (multi-platform C++ GUI toolkit).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/qt5/doinst.sh')
-rw-r--r--libraries/qt5/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/qt5/doinst.sh b/libraries/qt5/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/libraries/qt5/doinst.sh
@@ -0,0 +1,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