- Timestamp:
- May 27, 2010, 11:58:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/xvm-munin-config/debian/xvm-munin-remote-config.prerm
r1761 r3011 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne ' s%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers22 perl -i.bak -ne 'print unless /^### BEGIN xvm-munin-config/../^### END xvm-munin-config/' /etc/sudoers 23 23 ;; 24 24
Note: See TracChangeset
for help on using the changeset viewer.