summaryrefslogtreecommitdiffstats
path: root/desktop/openbox-simple-theme/doinst.sh
diff options
context:
space:
mode:
author Kevin Paulus <goarilla@gmail.com>2015-10-10 00:21:15 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-10 00:21:15 +0700
commitda8c84d0b6e3e3f22d82e735b2fa83b2607f8e6c (patch)
treea7480dc90c31b67a9fa6af33a472e4a5c58c4a56 /desktop/openbox-simple-theme/doinst.sh
parentfe403085ca0eb496f6445b1e750b235a2a804a85 (diff)
downloadslackbuilds-da8c84d0b6e3e3f22d82e735b2fa83b2607f8e6c.tar.gz
slackbuilds-da8c84d0b6e3e3f22d82e735b2fa83b2607f8e6c.tar.xz
desktop/openbox-simple-theme: Added (Desktop themes).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/openbox-simple-theme/doinst.sh')
-rw-r--r--desktop/openbox-simple-theme/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/openbox-simple-theme/doinst.sh b/desktop/openbox-simple-theme/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/desktop/openbox-simple-theme/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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