summaryrefslogtreecommitdiff
path: root/libraries/qt5-webkit/doinst.sh
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-23 16:16:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-24 16:12:46 +0700
commit4873f023e84a3ff4d7bb3e5efc6ed6ebfeca81d4 (patch)
treedd49141e7205a95c58f87f880b21a781e4e221ed /libraries/qt5-webkit/doinst.sh
parentc697aea94c877de5525b039540498e58f28f9c87 (diff)
downloadslackbuilds-4873f023e84a3ff4d7bb3e5efc6ed6ebfeca81d4.tar.gz
libraries/qt5-webkit: Added (Qt based web browser engine).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qt5-webkit/doinst.sh')
-rw-r--r--libraries/qt5-webkit/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/qt5-webkit/doinst.sh b/libraries/qt5-webkit/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/libraries/qt5-webkit/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