[Pkg-ofed-commits] [libibverbs] 08/15: Do not exit postinst if not configuring
Ana Beatriz Guerrero López
ana at moszumanska.debian.org
Mon Jun 30 15:33:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
ana pushed a commit to branch master
in repository libibverbs.
commit a738d151cc80ec823d766826e5a864dbe06bdd92
Author: Julien Blache <jblache at debian.org>
Date: Wed Nov 24 07:38:12 2010 +0000
Do not exit postinst if not configuring
Code added by debhelper needs to run in all cases, not only the configure case.
---
debian/changelog | 4 +++-
debian/libibverbs1.postinst | 10 ++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 2dcc270..c0d0bf9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,10 @@ libibverbs (1.1.4-0.14.gb6c138b-OFED-1.5.2-1) experimental; urgency=low
* New OFED release.
* debian/rules:
+ Remove useless code.
+ * debian/libibverbs1.postinst:
+ + Let debhelper code run in all cases.
- -- Julien BLACHE <jblache at debian.org> Wed, 03 Nov 2010 14:36:37 +0100
+ -- Julien BLACHE <jblache at debian.org> Wed, 03 Nov 2010 14:37:13 +0100
libibverbs (1.1.3-0.6.g932f1a2-1) unstable; urgency=low
diff --git a/debian/libibverbs1.postinst b/debian/libibverbs1.postinst
new file mode 100644
index 0000000..c81b3bc
--- /dev/null
+++ b/debian/libibverbs1.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+# postinst script for libibverbs1
+
+set -e
+
+if [ "$1" = configure ]; then
+ getent group rdma > /dev/null 2>&1 || addgroup --system --quiet rdma
+fi
+
+#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/libibverbs.git
More information about the Pkg-ofed-commits
mailing list