[ Evan Broder ]
* Move the unnecessary Pre-Depends to a Depends
+ * We don't need to remove the code from sudoers in the postinst - the
+ preinst will get run on upgrade
- -- Evan Broder <broder@mit.edu> Tue, 25 Nov 2008 23:13:36 -0500
+ -- Evan Broder <broder@mit.edu> Tue, 25 Nov 2008 23:14:07 -0500
xvm-munin-config (0.0.4) unstable; urgency=low
# 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 <<EOF
### BEGIN xvm-munin-config
# 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
# and smartctl info
# and info about running domains
# 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 <<EOF
### BEGIN xvm-munin-config
# 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 <<EOF
### BEGIN xvm-munin-config