aboutsummaryrefslogtreecommitdiff
path: root/libraries/bwidget/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-25 09:02:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-25 09:02:06 +0700
commit73807f11b5d1d88af14955f43e2db823c5ca4e43 (patch)
tree137367ecd2013a954d49a4b713ebaf860419ab21 /libraries/bwidget/doinst.sh
parent6a3f39d85fd0b29f02a3d32e5245138c5cc90cc7 (diff)
libraries/bwidget: Added (megawidgets for Tk).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/bwidget/doinst.sh')
-rw-r--r--libraries/bwidget/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/bwidget/doinst.sh b/libraries/bwidget/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/libraries/bwidget/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