summaryrefslogtreecommitdiff
path: root/desktop/zuki-themes/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-08-30 12:36:16 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-03 07:48:57 +0700
commit23771e87c9254f2ca4ac549abe6b51f98c6d0db6 (patch)
tree3dc199c4620b7793ae7f95ee5e5f7e2134472523 /desktop/zuki-themes/doinst.sh
parent104757e28ad8681596a1005c2193417cfbb30ce6 (diff)
downloadslackbuilds-23771e87c9254f2ca4ac549abe6b51f98c6d0db6.tar.gz
desktop/zuki-themes: Added (Themes for GTK, gnome-shell and more).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/zuki-themes/doinst.sh')
-rw-r--r--desktop/zuki-themes/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/zuki-themes/doinst.sh b/desktop/zuki-themes/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/desktop/zuki-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