X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/xvm-munin-config.git/blobdiff_plain/54ac87f30ffb5787f4bf02a6c7bd7f44f8313e39..f36c7fb3d3c732039a53e8431aeccf13e1c5be2f:/debian/xvm-munin-master-config.postinst?ds=sidebyside diff --git a/debian/xvm-munin-master-config.postinst b/debian/xvm-munin-master-config.postinst index 407cbef..721e584 100755 --- a/debian/xvm-munin-master-config.postinst +++ b/debian/xvm-munin-master-config.postinst @@ -23,9 +23,6 @@ case "$1" in # So munin can read the mail log adduser munin adm - # First clear out the old stuff we threw in /etc/sudoers - perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers - # So munin can sudo to get to postfix queue info cat >>/etc/sudoers <