projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2638c6d
)
Debian: set -e in brcompat postinst
author
Simon Horman
<horms@verge.net.au>
Wed, 24 Aug 2011 01:40:55 +0000
(10:40 +0900)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 24 Aug 2011 16:45:44 +0000
(09:45 -0700)
As reported by lintian:
The maintainer script doesn't seem to set the -e flag which ensures
that the script's execution is aborted when any executed command
fails.
Refer to Debian Policy Manual section 10.4 (Scripts) for details.
debian/openvswitch-brcompat.postinst
patch
|
blob
|
history
diff --git
a/debian/openvswitch-brcompat.postinst
b/debian/openvswitch-brcompat.postinst
index 8113e31af138f770efdbb6f1853dd278443014b9..12e3b0557d276737375ea0da151a338030b2b3f5 100755
(executable)
--- a/
debian/openvswitch-brcompat.postinst
+++ b/
debian/openvswitch-brcompat.postinst
@@
-1,5
+1,7
@@
#!/bin/sh
+set -e
+
# If openvswitch-switch is installed, and then later openvswitch-brcompat is
# installed, make sure that ovs-brcompatd starts.
if test X"$1" = Xconfigure && \