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