From 9ce9e30c584de00dff711c5f69e2da85184d04d6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 19 Apr 2008 16:41:30 -0400 Subject: dh_icons: Support .xpm format icons. Stop looking for .jpg icons, and also, for compleness, support .icon files. This matches the set of extensions supported by gtk-update-icon-cache. Closes: #448094 --- dh_icons | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_icons') diff --git a/dh_icons b/dh_icons index 3cf3d262..355a85bc 100755 --- 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; } -- cgit v1.2.3