- Timestamp:
- May 27, 2010, 11:58:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-console/debian/invirt-console-host.postinst
r1815 r3011 21 21 case "$1" in 22 22 configure) 23 # Clean up the old sudoers line before we add it back24 perl -i.bak -ne 's%^### (BEGIN|END) invirt-console-host\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers25 26 23 cat >>/etc/sudoers <<EOF 27 24 ### BEGIN invirt-console-host
Note: See TracChangeset
for help on using the changeset viewer.