summaryrefslogtreecommitdiff
path: root/dh_installmenu
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2016-01-06 15:55:17 +0000
committerNiels Thykier <niels@thykier.net>2016-01-06 15:55:17 +0000
commit084fcd326b9d058ebaef14b5b76fade652062f90 (patch)
tree0f9fd452f44fe7fc621819ed3bac35227ad326ea /dh_installmenu
parent882b84eeaaf06c3fb20e7c8e6b71a4dd6acafe42 (diff)
downloaddebhelper-084fcd326b9d058ebaef14b5b76fade652062f90.tar.gz
Revert "dh_installmenu: Skip maintscripts for non-exec menu files"
This reverts commit 882b84eeaaf06c3fb20e7c8e6b71a4dd6acafe42. The menu trigger is largely broken and useless. Go back to the scripts again.
Diffstat (limited to 'dh_installmenu')
-rwxr-xr-xdh_installmenu2
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")
}