Move the invirtibuilder into invirt-dev as a first step towards
[invirt/packages/invirt-dev.git] / debian / invirt-dev.postinst
index 96725c3..f75d229 100755 (executable)
@@ -9,9 +9,6 @@ case "$1" in
             adduser --system repository
             addgroup --system repo
             
-            # Clean up the old sudoers block, then add it back
-            perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers
-            
             cat >>/etc/sudoers <<EOF
 ### BEGIN invirt-dev
 %repo   ALL=(repository)        ALWAYS_SET_HOME,NOPASSWD: /usr/bin/reprepro