X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-icons;h=9e00f03978dc2bcf09081043460fa8e601534874;hb=46ecfad5fed9e0e4ef179f5ec531f996400669b7;hp=3c018b354e76f8901c46e83f2016b78940da23d7;hpb=780fefcdcfd21f335378899f2e20d92978b476e7;p=debhelper.git diff --git a/autoscripts/postinst-icons b/autoscripts/postinst-icons index 3c018b3..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"/icon-theme.cache ]; then - gtk-update-icon-cache --force --quiet "$dir" - fi - done -fi +if which update-icon-caches >/dev/null 2>&1 ; then + update-icon-caches #DIRLIST# +fi