summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-menu
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-09 16:18:39 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-03-09 16:18:39 -0400
commitaa6312f1c5eec0c6d1e809269811599c6a9a5658 (patch)
tree459d7dd78c431a09fb3b98c09d4939e66830d29e /autoscripts/postinst-menu
parent5c71ef4bcfe54f3bbadc50bfed0cbc3985e4b167 (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/postinst-menu')
-rw-r--r--autoscripts/postinst-menu3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/postinst-menu b/autoscripts/postinst-menu
new file mode 100644
index 0000000..b56a346
--- /dev/null
+++ b/autoscripts/postinst-menu
@@ -0,0 +1,3 @@
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+ update-menus
+fi