X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_icons;h=835287a82d1da0f8963f5e7e8be8f34657f66072;hb=9d700975929417fe72bf46271c694ccb09d1c905;hp=aa077e474beb2287edbe787668d3c415d58fab03;hpb=780fefcdcfd21f335378899f2e20d92978b476e7;p=debhelper.git diff --git a/dh_icons b/dh_icons index aa077e4..835287a 100755 --- a/dh_icons +++ b/dh_icons @@ -17,10 +17,10 @@ B [S>] [B<-n>] =head1 DESCRIPTION dh_icons is a debhelper program that updates Freedesktop icon caches -when needed, using the gtk-update-icon-cache program provided by GTK+2.0. +when needed, using the update-icon-caches program provided by GTK+2.12. Currently this program does not handle installation of the files, though it may do so at a later date. It takes care of adding maintainer script -fragments to call F. +fragments to call F. =head1 OPTIONS @@ -30,6 +30,8 @@ fragments to call F. Do not modify maintainer scripts. +=back + =cut init(); @@ -46,7 +48,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; }