diff options
author | Julien BLACHE <jblache@debian.org> | 2011-06-29 21:42:06 -0700 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-06-29 21:42:06 -0700 |
commit | f06f3f714775aba259c03fda750e4aa0423d386e (patch) | |
tree | 61c7907cb43e587a3fa16c1bd0c0eb9c8b0b0b15 | |
parent | 509ff3f0f93a40ed97383ec5308ff3356ad3032c (diff) | |
download | libibverbs-f06f3f714775aba259c03fda750e4aa0423d386e.tar.gz |
debian/libibverbs1.postinst: Let debhelper code run in all cases
Do not exit postinst if not configuring -- code added by debhelper needs
to run in all cases, not only the configure case.
Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r-- | debian/libibverbs1.postinst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/debian/libibverbs1.postinst b/debian/libibverbs1.postinst index f7d2ee6..784458a 100644 --- a/debian/libibverbs1.postinst +++ b/debian/libibverbs1.postinst @@ -3,10 +3,8 @@ set -e -if [ "$1" != configure ]; then - exit 0 +if [ "$1" = configure ]; then + getent group rdma > /dev/null 2>&1 || addgroup --system --quiet rdma fi -getent group rdma > /dev/null 2>&1 || addgroup --system --quiet rdma - #DEBHELPER# |