summaryrefslogtreecommitdiff
path: root/desktop/orchis-gtk-theme/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-09-18 10:13:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-18 10:13:41 +0700
commit934bd7d8449f6d3ecefc678cfdeea82d8a9fd076 (patch)
treecec75635b387376ca6e7dbd80b983d1dd4b15ec9 /desktop/orchis-gtk-theme/doinst.sh
parent0179f326a273e3da5d49826a199658315180c537 (diff)
downloadslackbuilds-934bd7d8449f6d3ecefc678cfdeea82d8a9fd076.tar.gz
desktop/orchis-gtk-theme: Added (Modern GTK Theme for Linux).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/orchis-gtk-theme/doinst.sh')
-rw-r--r--desktop/orchis-gtk-theme/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/orchis-gtk-theme/doinst.sh b/desktop/orchis-gtk-theme/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/desktop/orchis-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