From d58559fee273525abe80254f85c09c899e39f6ba Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 23 Aug 2011 23:57:40 +0200 Subject: Don't check if netdev group exists, addgroup already handles that http://wiki.debian.org/AccountHandlingInMaintainerScripts --- debian/network-manager.postinst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'debian/network-manager.postinst') diff --git a/debian/network-manager.postinst b/debian/network-manager.postinst index 52bcd0ac..691f1402 100644 --- a/debian/network-manager.postinst +++ b/debian/network-manager.postinst @@ -33,9 +33,8 @@ mv_conffile() { case "$1" in configure) - if ! getent group netdev > /dev/null; then - addgroup --quiet --system netdev - fi + # Create netdev group that is used in the D-Bus policy file + addgroup --quiet --system netdev if [ -x "/etc/init.d/dbus" ]; then invoke-rc.d dbus force-reload || true -- cgit 1.3.0-6-gf8a5