slackbuilds_ponce/network/claws-mail/doinst.sh
Robby Workman 87f841e029 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>
2010-06-05 21:00:41 -05:00

10 lines
317 B
Bash

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