diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:34:23 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:34:23 +0200 |
commit | 7d23ee9853fd2acbee9dece5e3d6f01f9539737e (patch) | |
tree | 4508c054b89e5e198b3a5425a6334c2d765db892 /misc/krename/doinst.sh | |
parent | 43b676f27c3e5ee16cdd8f2e2a32cdd9a1eedf61 (diff) | |
download | slackbuilds-7d23ee9853fd2acbee9dece5e3d6f01f9539737e.tar.gz |
misc/krename: Updated for version 4.0.3
Diffstat (limited to 'misc/krename/doinst.sh')
-rw-r--r-- | misc/krename/doinst.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/krename/doinst.sh b/misc/krename/doinst.sh index eec7ae1d81..30eb690936 100644 --- a/misc/krename/doinst.sh +++ b/misc/krename/doinst.sh @@ -1,4 +1,6 @@ -if [ -x usr/bin/update-desktop-database ]; then - usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 +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 |