summaryrefslogtreecommitdiff
path: root/desktop/oranchelo-icon-theme/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-11-20 20:02:40 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 11:47:24 +0700
commit4ef674d061d3f853d40611b37db39586ba406c37 (patch)
tree3261c75682ab009f57234126d8c992f177b3d41a /desktop/oranchelo-icon-theme/doinst.sh
parent6efa82ccc67c2a0ad4d46422bd8f5d08a2e67dbc (diff)
downloadslackbuilds-4ef674d061d3f853d40611b37db39586ba406c37.tar.gz
desktop/oranchelo-icon-theme: Added (Flat Icons).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/oranchelo-icon-theme/doinst.sh')
-rw-r--r--desktop/oranchelo-icon-theme/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/oranchelo-icon-theme/doinst.sh b/desktop/oranchelo-icon-theme/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/desktop/oranchelo-icon-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