]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_icons
dh_icons: Support .xpm format icons. Stop looking for .jpg icons, and also, for compl...
[debhelper.git] / dh_icons
index 3cf3d262d3c6178c78aefe0a21ab34ff7c08ecc1..355a85bc04dac4038f489d66915c404203ad9b2b 100755 (executable)
--- a/dh_icons
+++ b/dh_icons
@@ -46,7 +46,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        next if $subdir =~ /^\./;
                        my $needs_cache = 0;
                        find sub {
-                               $needs_cache = 1 if -f and (/\.png$/ or /\.svg$/ or /\.jpg$/);
+                               $needs_cache = 1 if -f and (/\.png$/ or /\.svg$/ or /\.xpm$/ or /\.icon$/);
                        }, "$icondir/$subdir" ;
                        push @dirlist, "$baseicondir/$subdir" if $needs_cache;
                }