r19226 - in /desktop/experimental/gtk+2.0/debian: changelog update-icon-caches

joss at users.alioth.debian.org joss at users.alioth.debian.org
Wed Mar 25 13:34:15 UTC 2009


Author: joss
Date: Wed Mar 25 13:34:14 2009
New Revision: 19226

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=19226
Log:
Make update-icon-caches always generate the cache, now that dh_icons
is widespread.

Modified:
    desktop/experimental/gtk+2.0/debian/changelog
    desktop/experimental/gtk+2.0/debian/update-icon-caches

Modified: desktop/experimental/gtk+2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B2.0/debian/changelog?rev=19226&op=diff
==============================================================================
--- desktop/experimental/gtk+2.0/debian/changelog (original)
+++ desktop/experimental/gtk+2.0/debian/changelog Wed Mar 25 13:34:14 2009
@@ -11,6 +11,10 @@
   * debian/control.in:
   - sync Replaces with ubuntu's package for easier migration from Ubuntu
     to Debian ;)
+
+  [ Josselin Mouette ]
+  * Make update-icon-caches always generate the cache, now that dh_icons
+    is widespread.
 
  -- Gustavo Noronha Silva <kov at debian.org>  Mon, 23 Mar 2009 14:00:50 -0300
 

Modified: desktop/experimental/gtk+2.0/debian/update-icon-caches
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B2.0/debian/update-icon-caches?rev=19226&op=diff
==============================================================================
--- desktop/experimental/gtk+2.0/debian/update-icon-caches (original)
+++ desktop/experimental/gtk+2.0/debian/update-icon-caches Wed Mar 25 13:34:14 2009
@@ -12,11 +12,9 @@
         continue
     fi
     if [ -f "$dir"/index.theme ]; then
-        if [ -f "$dir"/icon-theme.cache ]; then
-            # The cache already exists, regenerate it
-            if ! gtk-update-icon-cache --force --quiet "$dir"; then
-                echo "WARNING: icon cache generation failed for $dir"
-            fi
+        # Generate or regenerate the cache    
+        if ! gtk-update-icon-cache --force --quiet "$dir"; then
+            echo "WARNING: icon cache generation failed for $dir"
         fi
     else
         # No more index.theme, remove the cache if it exists




More information about the pkg-gnome-commits mailing list