summaryrefslogtreecommitdiff
path: root/system/emelfm2/doinst.sh
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-12 17:45:13 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:45:13 +0200
commit04bdd09c2a378ebfa376f70e312fa2aa31cc3708 (patch)
treea66d3160c54173ade98c38009f4c1b9f4d72e8c1 /system/emelfm2/doinst.sh
parent3a4df3d4ea5ca1a8505882567b97d486bb062323 (diff)
downloadslackbuilds-04bdd09c2a378ebfa376f70e312fa2aa31cc3708.tar.gz
system/emelfm2: Updated for version 0.6.0
Diffstat (limited to 'system/emelfm2/doinst.sh')
-rw-r--r--system/emelfm2/doinst.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/system/emelfm2/doinst.sh b/system/emelfm2/doinst.sh
index 1be07cc6d6..9830478e8c 100644
--- a/system/emelfm2/doinst.sh
+++ b/system/emelfm2/doinst.sh
@@ -1,8 +1,14 @@
-
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
+ /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
+