diff options
Diffstat (limited to 'dh_installmenu')
-rwxr-xr-x | dh_installmenu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installmenu b/dh_installmenu index c775e3ad..adca9d6e 100755 --- a/dh_installmenu +++ b/dh_installmenu @@ -68,7 +68,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # Add the scripts if a menu-method file doesn't exist. # The scripts for menu-method handle everything these do, too. - if (-x $menu && $menu_method eq "" && ! $dh{NOSCRIPTS}) { + if ($menu_method eq "" && ! $dh{NOSCRIPTS}) { autoscript($package,"postinst","postinst-menu"); autoscript($package,"postrm","postrm-menu") } |