aboutsummaryrefslogtreecommitdiff
path: root/desktop/ceti-2-theme/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-08-30 12:30:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-03 07:48:57 +0700
commitf76e5062c6f9b7a0817d1add2439faf325ff7aa5 (patch)
treefc601a5d17e13c19a8dc296beac72454ed67cb73 /desktop/ceti-2-theme/doinst.sh
parentccfc966b3545698947a7615366f166fc80617b42 (diff)
desktop/ceti-2-theme: Added (GTK2|GTK3 themes).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/ceti-2-theme/doinst.sh')
-rw-r--r--desktop/ceti-2-theme/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/ceti-2-theme/doinst.sh b/desktop/ceti-2-theme/doinst.sh
new file mode 100644
index 000000000000..9424ce43ff57
--- /dev/null
+++ b/desktop/ceti-2-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