]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_icons
Fix build system auto-selection breakage.
[debhelper.git] / dh_icons
index 355a85bc04dac4038f489d66915c404203ad9b2b..4afbf7c098c73a868bfecdc586eee1485b616890 100755 (executable)
--- a/dh_icons
+++ b/dh_icons
@@ -30,6 +30,8 @@ fragments to call F<update-icon-caches>.
 
 Do not modify maintainer scripts.
 
+=back
+
 =cut
 
 init();
@@ -44,6 +46,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                opendir(DIRHANDLE, $icondir);
                while (my $subdir = readdir(DIRHANDLE)) {
                        next if $subdir =~ /^\./;
+                       next if $subdir eq "gnome";
+                       next if $subdir eq "hicolor";
                        my $needs_cache = 0;
                        find sub {
                                $needs_cache = 1 if -f and (/\.png$/ or /\.svg$/ or /\.xpm$/ or /\.icon$/);