summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-09-12 14:07:05 +0100
committerNick White <git@njw.me.uk>2012-09-12 14:07:05 +0100
commitbea67306d73bc7f18e131be2f1377076fd77e28f (patch)
tree95e811f9067656fb0d80db3cc1974c1b32c48f17 /debian/postinst
parent6d80eca2aba0b58fa5f985fd95b49b1662d29a79 (diff)
Make lintian clean
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