]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-icons
cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch...
[debhelper.git] / autoscripts / postinst-icons
index 951b613d008babbc3bce9b3e1c415717608ae93b..9e00f03978dc2bcf09081043460fa8e601534874 100644 (file)
@@ -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