]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installwm
r497: this and that
[debhelper.git] / dh_installwm
index 6199c0ac9a0de5ea09eb7a21604dc5e55c812c5b..fdcb150f442a84a302a695dd70a18abd97c1c8f1 100755 (executable)
@@ -11,7 +11,7 @@ use Debian::Debhelper::Dh_Lib;
 
 =head1 SYNOPSIS
 
-  dh_installwm [debhelper options] [-n] [--priority=n] [wm ...]
+B<dh_installwm> [S<I<debhelper options>>] [B<-n>] [B<--priority=>I<n>] [S<I<wm ...>>]
 
 =head1 DESCRIPTION
 
@@ -83,7 +83,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                push @wm, @ARGV;
        }
 
-       if (@wm && ! $dh{NOSCRIPTS}) {
+       if (! $dh{NOSCRIPTS}) {
                foreach (@wm) {
                        autoscript($package,"postinst","postinst-wm","s:#WM#:$_:;s/#PRIORITY#/$dh{PRIORITY}/",);
                        autoscript($package,"prerm","prerm-wm","s:#WM#:$_:");