[SCM] libutempter library packaging branch, master, updated. debian/1.1.5-3-1-gd701756

Fathi Boudra fabo at alioth.debian.org
Mon Feb 21 12:34:16 UTC 2011


The following commit has been merged in the master branch:
commit d701756ed4699e9eb9959fe77179e2bfe6a8f9cc
Author: Fathi Boudra <fabo at debian.org>
Date:   Mon Feb 21 14:31:44 2011 +0200

    Use getent instead of grep /etc/group. (Closes: #614258)
---
 debian/changelog             |    6 ++++++
 debian/control               |    2 +-
 debian/libutempter0.postinst |    2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 096c679..b4a79e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libutempter (1.1.5-4) unstable; urgency=low
+
+  * Use getent instead of grep /etc/group. (Closes: #614258)
+
+ -- Fathi Boudra <fabo at debian.org>  Mon, 21 Feb 2011 14:10:59 +0200
+
 libutempter (1.1.5-3) unstable; urgency=low
 
   * Switch to dpkg-source 3.0 (quilt) format.
diff --git a/debian/control b/debian/control
index 6175255..a205cc7 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Priority: optional
 Maintainer: Debian Krap Maintainers <debian-qt-kde at lists.debian.org>
 Uploaders: Fathi Boudra <fabo at debian.org>
 Build-Depends: debhelper (>= 7.4.15)
-Standards-Version: 3.8.4
+Standards-Version: 3.9.1
 Section: libs
 Homepage: http://freshmeat.net/projects/libutempter
 
diff --git a/debian/libutempter0.postinst b/debian/libutempter0.postinst
index aa8dd08..2e38d2d 100644
--- a/debian/libutempter0.postinst
+++ b/debian/libutempter0.postinst
@@ -5,7 +5,7 @@ set -e
 
 case "$1" in
     configure)
-        grep -q utempter /etc/group || ( echo "Creating utempter group..." ; addgroup --quiet --system utempter)
+        getent group | grep -q "^utempter:" || ( echo "Creating utempter group..." ; addgroup --quiet --system utempter)
         chown root:utempter /usr/lib/utempter
     ;;
 

-- 
libutempter library packaging



More information about the pkg-kde-commits mailing list