From f06f3f714775aba259c03fda750e4aa0423d386e Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Wed, 29 Jun 2011 21:42:06 -0700 Subject: [PATCH] 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 --- debian/libibverbs1.postinst | 6 ++---- 1 file 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# -- 2.46.0