diff options
Diffstat (limited to 'autoscripts/postinst-icons')
-rw-r--r-- | autoscripts/postinst-icons | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-icons b/autoscripts/postinst-icons index d35f30c0..951b613d 100644 --- a/autoscripts/postinst-icons +++ b/autoscripts/postinst-icons @@ -1,6 +1,6 @@ if which gtk-update-icon-cache >/dev/null 2>&1; then for dir in #DIRLIST#; do - if [ -f "$dir"/icon-theme.cache ]; then + if [ -f "$dir"/index.theme ] && [ -f "$dir"/icon-theme.cache ]; then gtk-update-icon-cache --force --quiet "$dir" fi done |