]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installwm
r497: this and that
[debhelper.git] / dh_installwm
index 11768563612b7d6e661d89f897da7a1977cd49c8..fdcb150f442a84a302a695dd70a18abd97c1c8f1 100755 (executable)
@@ -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#:$_:");