summaryrefslogtreecommitdiff
path: root/libraries/wxPython/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2014-05-29 18:00:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-29 18:00:24 +0700
commitd5632a2b747434f48885a552dffdb077b9a9362b (patch)
tree756f04eb0babe5d6e102af50b4c3b567f9859d32 /libraries/wxPython/doinst.sh
parent5666b92cddc0da1ba77972df8f7c0677d0170ae8 (diff)
downloadslackbuilds-d5632a2b747434f48885a552dffdb077b9a9362b.tar.gz
libraries/wxPython: Enable building of tools.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/wxPython/doinst.sh')
-rw-r--r--libraries/wxPython/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/wxPython/doinst.sh b/libraries/wxPython/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/libraries/wxPython/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