]> git.donarmstrong.com Git - debhelper.git/commitdiff
r2017: * dh_icons: Check for index.theme files before updating the cache. 5.0.53
authorjoeyh <joeyh>
Fri, 13 Jul 2007 18:52:46 +0000 (18:52 +0000)
committerjoeyh <joeyh>
Fri, 13 Jul 2007 18:52:46 +0000 (18:52 +0000)
Closes: #432824
autoscripts/postinst-icons
debian/changelog

index d35f30c0fd4e64c3385091006b24e9abdfb98202..951b613d008babbc3bce9b3e1c415717608ae93b 100644 (file)
@@ -1,6 +1,6 @@
 if which gtk-update-icon-cache >/dev/null 2>&1; then
        for dir in #DIRLIST#; do
-               if [ -f "$dir"/icon-theme.cache ]; then
+               if [ -f "$dir"/index.theme ] && [ -f "$dir"/icon-theme.cache ]; then
                        gtk-update-icon-cache --force --quiet "$dir"
                fi
        done
index 4abd07fdf883345d552ddaf7e4223f310b07bbb4..bdc42ea40bcd632035489cf1ce1186655e8b094b 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (5.0.53) unstable; urgency=low
+
+  * dh_icons: Check for index.theme files before updating the cache.
+    Closes: #432824
+
+ -- Joey Hess <joeyh@debian.org>  Fri, 13 Jul 2007 14:51:00 -0400
+
 debhelper (5.0.52) unstable; urgency=low
 
   * Remove DOS line endings from dh_icons scriptlets. Thanks, Daniel Holbach.