[SCM] libutempter library packaging branch, master, updated. debian/1.1.5-4-9-g7cd5ffe

Felix Geyer fgeyer at moszumanska.debian.org
Thu May 28 21:02:48 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/krap/libutempter.git;a=commitdiff;h=7cd5ffe

The following commit has been merged in the master branch:
commit 7cd5ffe982f55390fd631092ca4d76e8e5e27801
Author: Felix Geyer <fgeyer at debian.org>
Date:   Thu May 28 22:03:14 2015 +0200

    Simplify postinst script.
    
    * Simplify postinst script.
      - Don't read list of all groups. (Closes: #698858)
---
 debian/changelog             | 2 ++
 debian/libutempter0.postinst | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6eb67f4..b98e36f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ libutempter (1.1.6-1) UNRELEASED; urgency=medium
   * Add Vcs-* control fields.
   * Don't hardcode the delgroup path.
   * Improve package descriptions.
+  * Simplify postinst script.
+    - Don't read list of all groups. (Closes: #698858)
 
  -- Felix Geyer <fgeyer at debian.org>  Thu, 28 May 2015 18:23:38 +0200
 
diff --git a/debian/libutempter0.postinst b/debian/libutempter0.postinst
index 2e38d2d..92efe02 100644
--- a/debian/libutempter0.postinst
+++ b/debian/libutempter0.postinst
@@ -5,7 +5,7 @@ set -e
 
 case "$1" in
     configure)
-        getent group | grep -q "^utempter:" || ( echo "Creating utempter group..." ; addgroup --quiet --system utempter)
+        addgroup --quiet --system utempter
         chown root:utempter /usr/lib/utempter
     ;;
 

-- 
libutempter library packaging



More information about the pkg-kde-commits mailing list