X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-icons;h=9e00f03978dc2bcf09081043460fa8e601534874;hb=fb8f18f4a98669c3b85e1bd7920fbabfc00b886e;hp=951b613d008babbc3bce9b3e1c415717608ae93b;hpb=e5d814c22b185a43e00345d74ebb537653190b63;p=debhelper.git 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