aboutsummaryrefslogtreecommitdiff
path: root/desktop/numix-ocean-theme/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-01-17 05:55:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-20 19:35:19 +0700
commit883b55198c24a193d8ac12dbe3d05575f78201e6 (patch)
treebb45f84396d853401d056b19332c2a241be22242 /desktop/numix-ocean-theme/doinst.sh
parentcb826d94f5aed5fcedce4f272726851c77857c2f (diff)
desktop/numix-ocean-theme: Added (modern flat theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/numix-ocean-theme/doinst.sh')
-rw-r--r--desktop/numix-ocean-theme/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/numix-ocean-theme/doinst.sh b/desktop/numix-ocean-theme/doinst.sh
new file mode 100644
index 000000000000..aea0f894eb32
--- /dev/null
+++ b/desktop/numix-ocean-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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi