- Timestamp:
- Oct 24, 2008, 1:44:16 AM (16 years ago)
- Location:
- trunk/packages/invirt-console-host
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-console-host/debian/invirt-console-host.prerm
r1176 r1187 1 1 #!/bin/sh 2 # prerm script for sipb-xen-console-server2 # prerm script for invirt-console-host 3 3 # 4 4 # see: dh_installdeb(1) … … 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne 's%^### (BEGIN|END) sipb-xen-console-server\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers22 perl -i.bak -ne 's%^### (BEGIN|END) invirt-console-host\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 23 23 ;; 24 24
Note: See TracChangeset
for help on using the changeset viewer.