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 | |
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>
-rw-r--r-- | network/claws-mail/claws-mail.SlackBuild | 2 | ||||
-rw-r--r-- | network/claws-mail/doinst.sh | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/network/claws-mail/claws-mail.SlackBuild b/network/claws-mail/claws-mail.SlackBuild index c3b21146d9..4aac6817cb 100644 --- a/network/claws-mail/claws-mail.SlackBuild +++ b/network/claws-mail/claws-mail.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=claws-mail VERSION=3.7.6 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: 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 + |