invirt-console-host
svn path=/trunk/packages/invirt-console-host/; revision=1769
+invirt-console-host (0.0.10) unstable; urgency=low
+
+ * Clean up the old sudoers block in the postinst before we add it back
+
+ -- Evan Broder <broder@mit.edu> Tue, 25 Nov 2008 08:13:32 -0500
+
invirt-console-host (0.0.9) unstable; urgency=low
* Add cron dependency
case "$1" in
configure)
+ # Clean up the old sudoers line before we add it back
+ perl -i.bak -ne 's%^### (BEGIN|END) invirt-console-host\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers
+
cat >>/etc/sudoers <<EOF
### BEGIN invirt-console-host
conservr ALL=(ALL) NOPASSWD: /usr/sbin/xm console d_*