diff options
Diffstat (limited to 'desktop/ccsm')
-rw-r--r-- | desktop/ccsm/doinst.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/ccsm/doinst.sh b/desktop/ccsm/doinst.sh index a61bc59590f18..2786723850a65 100644 --- a/desktop/ccsm/doinst.sh +++ b/desktop/ccsm/doinst.sh @@ -1,5 +1,7 @@ -if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor >/dev/null 2>&1 +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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi fi if [ -x /usr/bin/update-desktop-database ]; then |