summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-icons
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-icons')
-rw-r--r--autoscripts/postinst-icons8
1 files changed, 2 insertions, 6 deletions
diff --git a/autoscripts/postinst-icons b/autoscripts/postinst-icons
index 951b613..9e00f03 100644
--- a/autoscripts/postinst-icons
+++ b/autoscripts/postinst-icons
@@ -1,7 +1,3 @@
-if which gtk-update-icon-cache >/dev/null 2>&1; then
- for dir in #DIRLIST#; do
- if [ -f "$dir"/index.theme ] && [ -f "$dir"/icon-theme.cache ]; then
- gtk-update-icon-cache --force --quiet "$dir"
- fi
- done
+if which update-icon-caches >/dev/null 2>&1 ; then
+ update-icon-caches #DIRLIST#
fi