diff options
Diffstat (limited to 'desktop/fusion-icon/doinst.sh')
-rw-r--r-- | desktop/fusion-icon/doinst.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/desktop/fusion-icon/doinst.sh b/desktop/fusion-icon/doinst.sh index a61bc59590..76cc38a548 100644 --- a/desktop/fusion-icon/doinst.sh +++ b/desktop/fusion-icon/doinst.sh @@ -1,7 +1,9 @@ -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 -fi - if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 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 |