summaryrefslogtreecommitdiffstats
path: root/system/gentoo/doinst.sh
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2014-01-21 23:04:14 +0700
committer Erik Hanson <erik@slackbuilds.org>2014-01-29 23:21:09 -0600
commit351f589698cf8be75a816386c0276bb61805ebbb (patch)
tree4772c75bb833b474237d549edbc9e92b25752866 /system/gentoo/doinst.sh
parenta4e2b5a930f57ad1980bde4b443d50cf7d4b8f2c (diff)
downloadslackbuilds-351f589698cf8be75a816386c0276bb61805ebbb.tar.gz
slackbuilds-351f589698cf8be75a816386c0276bb61805ebbb.tar.xz
system/gentoo: Added (file manager).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/gentoo/doinst.sh')
-rw-r--r--system/gentoo/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/gentoo/doinst.sh b/system/gentoo/doinst.sh
new file mode 100644
index 0000000000..9830478e8c
--- /dev/null
+++ b/system/gentoo/doinst.sh
@@ -0,0 +1,14 @@
+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
+