diff options
author | joey <joey> | 2003-12-02 21:19:10 +0000 |
---|---|---|
committer | joey <joey> | 2003-12-02 21:19:10 +0000 |
commit | e96ca35789dc7749bf5a29f1b7736f9e5877f6a4 (patch) | |
tree | c9fccc11f47fb5cc15e71b046fdb7435f9b9910d /autoscripts | |
parent | fcaa5bcc7d65104c782634bdeb1de05d86f0662a (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-method | 6 |
1 files changed, 4 insertions, 2 deletions
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 |