Index: trunk/packages/invirt-dev/debian/changelog
===================================================================
--- trunk/packages/invirt-dev/debian/changelog	(revision 2819)
+++ trunk/packages/invirt-dev/debian/changelog	(revision 3011)
@@ -8,6 +8,7 @@
     upgrades, make sure the postinst code to add it back runs on all
     upgrades, too.
-
- -- Evan Broder <broder@mit.edu>  Thu, 17 Dec 2009 16:06:31 -0600
+  * Use the .. Perl operator to simplify the prerm.
+
+ -- Evan Broder <broder@mit.edu>  Thu, 27 May 2010 11:55:06 -0400
 
 invirt-dev (0.0.14) unstable; urgency=low
Index: trunk/packages/invirt-dev/debian/invirt-dev.prerm
===================================================================
--- trunk/packages/invirt-dev/debian/invirt-dev.prerm	(revision 2819)
+++ trunk/packages/invirt-dev/debian/invirt-dev.prerm	(revision 3011)
@@ -22,5 +22,5 @@
         [ "$1" = "remove" ] && update-inetd --disable git
 
-        perl -i.bak -ne 's%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers
+        perl -i.bak -ne 'print unless /^### BEGIN invirt-dev/../^### END invirt-dev/' /etc/sudoers
     ;;
 
