summaryrefslogtreecommitdiff
path: root/graphics/ristretto/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 17:40:06 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-12 17:40:06 +0200
commita6b2dba25f76cd5be09fd5f1d74dba0915074601 (patch)
tree804d307136ee96bba7d0c2929b8a986b4109773a /graphics/ristretto/doinst.sh
parent2d4068a804ea3ae84cf86f460c86c1042b722c83 (diff)
downloadslackbuilds-a6b2dba25f76cd5be09fd5f1d74dba0915074601.tar.gz
graphics/ristretto: Updated for version 0.0.22
Diffstat (limited to 'graphics/ristretto/doinst.sh')
-rw-r--r--graphics/ristretto/doinst.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/ristretto/doinst.sh b/graphics/ristretto/doinst.sh
index 7ebfa3ab4d..1f8ff67ded 100644
--- a/graphics/ristretto/doinst.sh
+++ b/graphics/ristretto/doinst.sh
@@ -1,3 +1,10 @@
-if [ -x usr/bin/update-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
+if [ -x /usr/bin/update-desktop-database ]; then
+ /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
+