[SCM] gerbera/master: Remove NIS tolerence stuff from postinst

jcowgill at users.alioth.debian.org jcowgill at users.alioth.debian.org
Sat Sep 23 17:48:14 UTC 2017


The following commit has been merged in the master branch:
commit 1b95eeddeaba44842e5c8709a9c6505460b334b3
Author: James Cowgill <jcowgill at debian.org>
Date:   Thu Jun 22 20:36:24 2017 +0100

    Remove NIS tolerence stuff from postinst

diff --git a/debian/gerbera.postinst b/debian/gerbera.postinst
index ccec7b4..32ecc14 100644
--- a/debian/gerbera.postinst
+++ b/debian/gerbera.postinst
@@ -5,15 +5,6 @@ DATADIR=/var/lib/mediatomb
 
 case "$1" in
 configure)
-    # stolen from mysql deb package...
-    
-    # If we use NIS then errors should be tolerated. It's up to the
-    # user to ensure that the mediatomb user is correctly setup.
-    # Beware that there are two ypwhich one of them needs the 2>/dev/null!
-    if test -n "`which ypwhich 2>/dev/null`"  &&  ypwhich >/dev/null 2>&1; then
-        set +e
-    fi
-
     # creating mediatomb group if it isn't already there
     if ! getent group mediatomb >/dev/null; then
         # Adding system group: mediatomb.
@@ -34,9 +25,6 @@ configure)
          mediatomb  >/dev/null
     fi
     
-    # end of NIS tolerance zone
-    set -e
-    
     if ! dpkg-statoverride --list /etc/mediatomb/config.xml >/dev/null 2>&1
     then
     	dpkg-statoverride --update --add mediatomb mediatomb 644 /etc/mediatomb/config.xml

-- 
gerbera packaging



More information about the pkg-multimedia-commits mailing list