summaryrefslogtreecommitdiff
path: root/libraries/qt5/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2013-12-16 06:39:45 +0100
committerErik Hanson <erik@slackbuilds.org>2013-12-17 11:00:31 -0600
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