summaryrefslogtreecommitdiffstats
path: root/desktop/numix-gtk-theme/doinst.sh
diff options
context:
space:
mode:
author Edinaldo P. Silva2016-10-05 02:27:08 +0200
committer Willy Sudiarto Raharjo2016-10-05 02:27:08 +0200
commit73646ca997a6163f6935e2323596d6445a75508f (patch)
tree297dee29e1d96f28c0fbcaee59ca84605423cb54 /desktop/numix-gtk-theme/doinst.sh
parent31ff0b4507d27ec8d0d30e920135d5c0b68d696e (diff)
downloadslackbuilds-73646ca997a6163f6935e2323596d6445a75508f.tar.gz
desktop/numix-gtk-theme: Added (modern flat theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/numix-gtk-theme/doinst.sh')
-rw-r--r--desktop/numix-gtk-theme/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/numix-gtk-theme/doinst.sh b/desktop/numix-gtk-theme/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/desktop/numix-gtk-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