[Pkg-nagios-changes] [pkg-icingaweb2] 02/04: Remove duplicate adduser in postinst

Markus Frosch lazyfrosch at moszumanska.debian.org
Mon Feb 22 12:06:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

lazyfrosch pushed a commit to branch master
in repository pkg-icingaweb2.

commit 4de17c5dfd7ec79eac4a68005ea8e80c47cb3cf8
Author: Markus Frosch <markus at lazyfrosch.de>
Date:   Mon Feb 22 12:53:57 2016 +0100

    Remove duplicate adduser in postinst
    
    This is done by icingaweb2-common
---
 debian/icingaweb2.postinst | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/debian/icingaweb2.postinst b/debian/icingaweb2.postinst
index ceac4be..6ed6e06 100644
--- a/debian/icingaweb2.postinst
+++ b/debian/icingaweb2.postinst
@@ -6,11 +6,6 @@ case "$1" in
     configure)
         COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true)
 
-        # allow www-data to write icingaweb2 config
-        if ! getent group icingaweb2 | grep -q www-data; then
-            adduser www-data icingaweb2
-        fi
-
         # NEW method for Apache >= 2.4
         if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
             . /usr/share/apache2/apache2-maintscript-helper

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icingaweb2.git



More information about the Pkg-nagios-changes mailing list