summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>2003-12-02 21:19:10 +0000
committerjoey <joey>2003-12-02 21:19:10 +0000
commite96ca35789dc7749bf5a29f1b7736f9e5877f6a4 (patch)
treec9fccc11f47fb5cc15e71b046fdb7435f9b9910d /autoscripts
parentfcaa5bcc7d65104c782634bdeb1de05d86f0662a (diff)
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.
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postinst-menu-method6
1 files changed, 4 insertions, 2 deletions
diff --git a/autoscripts/postinst-menu-method b/autoscripts/postinst-menu-method
index 01913d8..d3ef636 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