Changeset 2630 for trunk/packages/invirt-dev/debian/invirt-dev.prerm
- Timestamp:
- Dec 17, 2009, 5:56:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/debian/invirt-dev.prerm
r1782 r2630 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 22 perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers 23 23 ;; 24 24 … … 32 32 esac 33 33 34 if [ -x /etc/init.d/invirt-dev ]; then 35 if hash invoke-rc.d 2>/dev/null; then 36 invoke-rc.d invirt-dev stop 37 else 38 /etc/init.d/invirt-dev stop 39 fi 40 fi 41 34 42 # dh_installdeb will replace this with shell code automatically 35 43 # generated by other debhelper scripts.
Note: See TracChangeset
for help on using the changeset viewer.