diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-12 17:40:06 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-12 17:40:06 +0200 |
commit | a6b2dba25f76cd5be09fd5f1d74dba0915074601 (patch) | |
tree | 804d307136ee96bba7d0c2929b8a986b4109773a /graphics/ristretto/doinst.sh | |
parent | 2d4068a804ea3ae84cf86f460c86c1042b722c83 (diff) |
graphics/ristretto: Updated for version 0.0.22
Diffstat (limited to 'graphics/ristretto/doinst.sh')
-rw-r--r-- | graphics/ristretto/doinst.sh | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/ristretto/doinst.sh b/graphics/ristretto/doinst.sh index 7ebfa3ab4d6a2..1f8ff67dedb29 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 + |