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>
This commit is contained in:
Robby Workman 2010-06-05 21:00:00 -05:00
parent a0d68e754a
commit 87f841e029
2 changed files with 8 additions and 1 deletions

View file

@ -24,7 +24,7 @@
PRGNAM=claws-mail PRGNAM=claws-mail
VERSION=3.7.6 VERSION=3.7.6
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on: # Automatically determine the architecture we're building on:

View file

@ -1,3 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications &> /dev/null /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
fi 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