projects
/
invirt/packages/xvm-munin-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed changelog for hardy
[invirt/packages/xvm-munin-config.git]
/
debian
/
xvm-munin-master-config.prerm
diff --git
a/debian/xvm-munin-master-config.prerm
b/debian/xvm-munin-master-config.prerm
index
3306876
..
b8ba0ec
100755
(executable)
--- a/
debian/xvm-munin-master-config.prerm
+++ b/
debian/xvm-munin-master-config.prerm
@@
-19,7
+19,7
@@
set -e
case "$1" in
remove|upgrade|deconfigure)
case "$1" in
remove|upgrade|deconfigure)
- perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers
+ perl -i.bak -ne 'print unless /^### BEGIN xvm-munin-config/../^### END xvm-munin-config/' /etc/sudoers
;;
failed-upgrade)
;;
failed-upgrade)