]> 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 3c018b354e76f8901c46e83f2016b78940da23d7..9e00f03978dc2bcf09081043460fa8e601534874 100644 (file)
@@ -1,7 +1,3 @@
-if which gtk-update-icon-cache >/dev/null 2>&1; then\r
-       for dir in #DIRLIST#; do\r
-               if [ -f "$dir"/icon-theme.cache ]; then\r
-                       gtk-update-icon-cache --force --quiet "$dir"\r
-               fi\r
-       done\r
-fi\r
+if which update-icon-caches >/dev/null 2>&1 ; then
+       update-icon-caches #DIRLIST#
+fi