aboutsummaryrefslogtreecommitdiff
path: root/desktop/faba-mono-icons/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-05-05 09:23:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-05 09:23:45 +0700
commit5aee19ba49697f6452fb1bb341ba1309f6e624fe (patch)
tree031de5200fa61254363b04d29c63e6cc312c8a55 /desktop/faba-mono-icons/doinst.sh
parent56d4b52f671207f7e0bfeedb7e3b972992fe93d6 (diff)
desktop/faba-mono-icons: Added (gnome icon theme).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/faba-mono-icons/doinst.sh')
-rw-r--r--desktop/faba-mono-icons/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/faba-mono-icons/doinst.sh b/desktop/faba-mono-icons/doinst.sh
new file mode 100644
index 0000000000000..9424ce43ff572
--- /dev/null
+++ b/desktop/faba-mono-icons/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