From 87f841e02960692bda13e82a97c7c187bfa42662 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 5 Jun 2010 21:00:00 -0500 Subject: [PATCH] network/claws-mail: Update the hicolor icon cache in doinst.sh Thanks to Greg Bouzakis for the report. Signed-off-by: Robby Workman --- network/claws-mail/claws-mail.SlackBuild | 2 +- network/claws-mail/doinst.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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 +