summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/postinst b/debian/postinst
index 04346d0..f5ccda3 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,3 +1,3 @@
#!/bin/sh
-test "$1" = "configure" && test -x /usr/bin/update-menus \
- && update-menus
+set -e
+if test -x /usr/bin/update-menus; then update-menus; fi