From e96ca35789dc7749bf5a29f1b7736f9e5877f6a4 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 2 Dec 2003 21:19:10 +0000 Subject: r1629: * Removed the no upstream changelog for debian packages test. Even though it has personally saved me many times, debhelper is not intended to check packages for mistakes, and apparently it makes sense for some "native" packages to have a non-Debian changelog. Closes: #216099 * If a native package has an upstream changelog, call the debian/changelog changelog.Debian. * postinst-menu-method: always chmod menu-method executable even if update-menus is not. Closes: #220576 * dh_installmenu: do not ship menu-methods executable. --- autoscripts/postinst-menu-method | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'autoscripts') diff --git a/autoscripts/postinst-menu-method b/autoscripts/postinst-menu-method index 01913d82..d3ef6362 100644 --- a/autoscripts/postinst-menu-method +++ b/autoscripts/postinst-menu-method @@ -1,5 +1,7 @@ inst=/etc/menu-methods/#PACKAGE# -if [ -x /usr/bin/update-menus ] && [ -f $inst ] ; then +if [ -f $inst ]; then chmod a+x $inst - update-menus + if [ -x /usr/bin/update-menus ]; then + update-menus + fi fi -- cgit v1.2.3