misc/krename: Update doinst.sh.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-01-09 19:48:21 +07:00 committed by David Spencer
parent f2e84c514f
commit bacfbca02d

View file

@ -4,13 +4,13 @@ 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
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
if [ -e usr/share/icons/locolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/locolor >/dev/null 2>&1
/usr/bin/gtk-update-icon-cache -f usr/share/icons/locolor >/dev/null 2>&1
fi
fi