Index: trunk/packages/xvm-munin-config/debian/changelog
===================================================================
--- trunk/packages/xvm-munin-config/debian/changelog	(revision 1780)
+++ trunk/packages/xvm-munin-config/debian/changelog	(revision 1781)
@@ -8,6 +8,8 @@
   [ 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
Index: trunk/packages/xvm-munin-config/debian/xvm-munin-console-config.postinst
===================================================================
--- trunk/packages/xvm-munin-config/debian/xvm-munin-console-config.postinst	(revision 1780)
+++ trunk/packages/xvm-munin-config/debian/xvm-munin-console-config.postinst	(revision 1781)
@@ -23,7 +23,4 @@
         # 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
Index: trunk/packages/xvm-munin-config/debian/xvm-munin-host-config.postinst
===================================================================
--- trunk/packages/xvm-munin-config/debian/xvm-munin-host-config.postinst	(revision 1780)
+++ trunk/packages/xvm-munin-config/debian/xvm-munin-host-config.postinst	(revision 1781)
@@ -23,7 +23,4 @@
         # 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
Index: trunk/packages/xvm-munin-config/debian/xvm-munin-master-config.postinst
===================================================================
--- trunk/packages/xvm-munin-config/debian/xvm-munin-master-config.postinst	(revision 1780)
+++ trunk/packages/xvm-munin-config/debian/xvm-munin-master-config.postinst	(revision 1781)
@@ -23,7 +23,4 @@
         # 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
Index: trunk/packages/xvm-munin-config/debian/xvm-munin-remote-config.postinst
===================================================================
--- trunk/packages/xvm-munin-config/debian/xvm-munin-remote-config.postinst	(revision 1780)
+++ trunk/packages/xvm-munin-config/debian/xvm-munin-remote-config.postinst	(revision 1781)
@@ -23,7 +23,4 @@
         # 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
