Changeset 1782
- Timestamp:
- Nov 25, 2008, 11:16:02 PM (16 years ago)
- Location:
- trunk/packages/invirt-dev/debian
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/debian/changelog
r1770 r1782 1 invirt-dev (0.0.10) unstable; urgency=low 2 3 * Clean up /etc/sudoers in the prerm instead of the postinst 4 5 -- Evan Broder <broder@mit.edu> Tue, 25 Nov 2008 23:09:03 -0500 6 1 7 invirt-dev (0.0.9) unstable; urgency=low 2 8 -
trunk/packages/invirt-dev/debian/invirt-dev.postinst
r1770 r1782 9 9 adduser --system repository 10 10 addgroup --system repo 11 12 # Clean up the old sudoers block, then add it back13 perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers14 11 15 12 cat >>/etc/sudoers <<EOF
Note: See TracChangeset
for help on using the changeset viewer.