X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_icons;h=3ac091afb4d4f7f4b3fe0f91cf703c23cd288db1;hb=18a0da8092ea9f3dc48bca92b36f592af25a608d;hp=355a85bc04dac4038f489d66915c404203ad9b2b;hpb=9ce9e30c584de00dff711c5f69e2da85184d04d6;p=debhelper.git diff --git a/dh_icons b/dh_icons index 355a85b..3ac091a 100755 --- a/dh_icons +++ b/dh_icons @@ -16,11 +16,11 @@ B [S>] [B<-n>] =head1 DESCRIPTION -dh_icons is a debhelper program that updates Freedesktop icon caches -when needed, using the update-icon-caches program provided by GTK+2.12. +B is a debhelper program that updates Freedesktop icon caches +when needed, using the B 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 B. =head1 OPTIONS @@ -30,6 +30,8 @@ fragments to call F. 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$/);