summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rwxr-xr-xdh_installmenu2
2 files changed, 1 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index 7c7498ad..144365e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,9 +8,6 @@ debhelper (9.20151225+unreleased) UNRELEASED; urgency=medium
does not start with debian/tmp. This should make the
output on failures less weird.
* autoscripts/*-makeshlibs: Removed, no longer used.
- * dh_installmenu: Do not add post{rm,inst} snippets for
- /non-executable/ menu files. The trigger in the menu package
- can handle these correctly. (Closes: #628564)
[ Dmitry Shachnev ]
* dh_install: Fail because of missing files only after processing
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")
}