aboutsummaryrefslogtreecommitdiff
path: root/network/claws-mail/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-06-05 21:00:00 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-05 21:00:41 -0500
commit87f841e02960692bda13e82a97c7c187bfa42662 (patch)
tree237ea1f4e535eeea081ebba2ce79a5de21138be1 /network/claws-mail/doinst.sh
parenta0d68e754a12c8e8e341bcb657f2487fdf9310be (diff)
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.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/network/claws-mail/doinst.sh b/network/claws-mail/doinst.sh
index 3857649f506a8..9f1846bc38ccf 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
+