summaryrefslogtreecommitdiff
path: root/desktop/boje-themes/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-05-23 21:32:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-23 21:32:20 +0700
commit76726771cb8f34ef5e017edca08bc985847e037d (patch)
treeb8506b982f1eb94891843540a81d3c58d77bfd12 /desktop/boje-themes/doinst.sh
parentd675ba99e94ac0e5f2afaef96cd88c16e6f2d948 (diff)
downloadslackbuilds-76726771cb8f34ef5e017edca08bc985847e037d.tar.gz
desktop/boje-themes: Added (GTK2|GTK3 themes).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/boje-themes/doinst.sh')
-rw-r--r--desktop/boje-themes/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/boje-themes/doinst.sh b/desktop/boje-themes/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/desktop/boje-themes/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