diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-03-09 16:18:39 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-03-09 16:18:39 -0400 |
commit | aa6312f1c5eec0c6d1e809269811599c6a9a5658 (patch) | |
tree | 459d7dd78c431a09fb3b98c09d4939e66830d29e /autoscripts | |
parent | 5c71ef4bcfe54f3bbadc50bfed0cbc3985e4b167 (diff) |
Revert "dh_installmenus: Now that a triggers capable menu and dpkg are in stable, menu does not need to be explicitly run in maintainer scripts, except for packages with menu-methods files. (See #473467)"
This reverts commit 651be44c078b91112bf18d87d3629d23beb1a5c7.
Conflicts:
debian/changelog
Diffstat (limited to 'autoscripts')
-rw-r--r-- | autoscripts/postinst-menu | 3 | ||||
-rw-r--r-- | autoscripts/postrm-menu | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/autoscripts/postinst-menu b/autoscripts/postinst-menu new file mode 100644 index 00000000..b56a3462 --- /dev/null +++ b/autoscripts/postinst-menu @@ -0,0 +1,3 @@ +if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then + update-menus +fi diff --git a/autoscripts/postrm-menu b/autoscripts/postrm-menu new file mode 100644 index 00000000..a180558d --- /dev/null +++ b/autoscripts/postrm-menu @@ -0,0 +1 @@ +if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi |