diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2011-11-07 06:39:00 -0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-26 09:09:08 -0600 |
commit | 165deb2aa6d02b38c75d7f19c353aec72748f07b (patch) | |
tree | ae3c4ed02c3b6d32e3f91a2dcf1608323cafe228 /misc/krename/doinst.sh | |
parent | f5058d41a8fff5ffe2b8e8708b6d5b3656eaf212 (diff) |
misc/krename: Updated for version 4.0.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'misc/krename/doinst.sh')
-rw-r--r-- | misc/krename/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/krename/doinst.sh b/misc/krename/doinst.sh index 30eb690936b52..6e328dd2a6e1a 100644 --- a/misc/krename/doinst.sh +++ b/misc/krename/doinst.sh @@ -1,6 +1,16 @@ +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 +if [ -e usr/share/icons/locolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/locolor >/dev/null 2>&1 + fi +fi + |