diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-06-05 21:00:00 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-05 21:00:41 -0500 |
commit | 87f841e02960692bda13e82a97c7c187bfa42662 (patch) | |
tree | 237ea1f4e535eeea081ebba2ce79a5de21138be1 /network/claws-mail/doinst.sh | |
parent | a0d68e754a12c8e8e341bcb657f2487fdf9310be (diff) | |
download | slackbuilds-87f841e02960692bda13e82a97c7c187bfa42662.tar.gz |
network/claws-mail: Update the hicolor icon cache in doinst.sh
Thanks to Greg Bouzakis for the report.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/claws-mail/doinst.sh')
-rw-r--r-- | network/claws-mail/doinst.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/network/claws-mail/doinst.sh b/network/claws-mail/doinst.sh index 3857649f50..9f1846bc38 100644 --- a/network/claws-mail/doinst.sh +++ b/network/claws-mail/doinst.sh @@ -1,3 +1,10 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null 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 + |