Ignore:
Timestamp:
Nov 25, 2008, 11:16:02 PM (16 years ago)
Author:
broder
Message:

Move invirt-dev's sudoers cleanup to the prerm instead of the postinst

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/debian/invirt-dev.postinst

    r1770 r1782  
    99            adduser --system repository
    1010            addgroup --system repo
    11            
    12             # Clean up the old sudoers block, then add it back
    13             perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers
    1411           
    1512            cat >>/etc/sudoers <<EOF
Note: See TracChangeset for help on using the changeset viewer.