aboutsummaryrefslogtreecommitdiff
path: root/system/krusader/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:40:48 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:40:48 +0200
commite87afa1f51811b17e1d4455f0782d5fd9e867d51 (patch)
treec59f17f08f3371a87d25310a436a31d714fe8863 /system/krusader/doinst.sh
parent2a07dfb072911b2193ff8788978e879db253c3fe (diff)
system/krusader: Updated for version 2.0.0
Diffstat (limited to 'system/krusader/doinst.sh')
-rw-r--r--system/krusader/doinst.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/system/krusader/doinst.sh b/system/krusader/doinst.sh
index 220e1b6593a3d..1f8ff67dedb29 100644
--- a/system/krusader/doinst.sh
+++ b/system/krusader/doinst.sh
@@ -1,5 +1,10 @@
-
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q ./usr/share/applications >/dev/null 2>&1
+ /usr/bin/update-desktop-database -q usr/share/applications >/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