]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installxfonts
update copyright
[debhelper.git] / dh_installxfonts
index d1ced88e0d2b2eead4958fb9fc1565ae8f800fd5..276f903c0240b4b17273f3687b9cd384c1270b69 100755 (executable)
@@ -30,8 +30,9 @@ update-fonts-* commands are available. (This program adds that dependency to
 ${misc:Depends}.)
 
 This program automatically generates the postinst and postrm commands needed
-to register X fonts.  See L<dh_installdeb(1)> for an explanation of how this
-works.
+to register X fonts. These commands are inserted into the maintainer
+scripts by dh_installdeb. See L<dh_installdeb(1)> for an explanation of how
+this works.
 
 =head1 NOTES
 
@@ -51,7 +52,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        # Find all font directories in the package build directory.
        my @fontdirs;
        foreach my $parentdir ("$tmp/usr/X11R6/lib/X11/fonts/", "$tmp/usr/share/fonts/X11/") {
-               opendir DIR, $parentdir || next;
+               opendir(DIR, $parentdir) || next;
                @fontdirs = grep { -d "$parentdir/$_" && !/^\./ } (readdir DIR);
                closedir DIR;
        }