Changeset 3011 for trunk/packages
- Timestamp:
- May 27, 2010, 11:58:35 AM (15 years ago)
- Location:
- trunk/packages
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-console/debian/changelog
r2878 r3011 1 invirt-console (0.2.14) unstable; urgency=low 2 3 * Use the .. Perl operator to simplify the invirt-console-host prerm. 4 5 -- Evan Broder <broder@mit.edu> Thu, 27 May 2010 11:55:53 -0400 6 1 7 invirt-console (0.2.13) unstable; urgency=low 2 8 -
trunk/packages/invirt-console/debian/invirt-console-host.postinst
r1815 r3011 21 21 case "$1" in 22 22 configure) 23 # Clean up the old sudoers line before we add it back24 perl -i.bak -ne 's%^### (BEGIN|END) invirt-console-host\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers25 26 23 cat >>/etc/sudoers <<EOF 27 24 ### BEGIN invirt-console-host -
trunk/packages/invirt-console/debian/invirt-console-host.prerm
r1815 r3011 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne ' s%^### (BEGIN|END) invirt-console-host\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers22 perl -i.bak -ne 'print unless /^### BEGIN invirt-console-host/../^### END invirt-console-host/' /etc/sudoers 23 23 ;; 24 24 -
trunk/packages/invirt-dev/debian/changelog
r2625 r3011 8 8 upgrades, make sure the postinst code to add it back runs on all 9 9 upgrades, too. 10 11 -- Evan Broder <broder@mit.edu> Thu, 17 Dec 2009 16:06:31 -0600 10 * Use the .. Perl operator to simplify the prerm. 11 12 -- Evan Broder <broder@mit.edu> Thu, 27 May 2010 11:55:06 -0400 12 13 13 14 invirt-dev (0.0.14) unstable; urgency=low -
trunk/packages/invirt-dev/debian/invirt-dev.prerm
r2636 r3011 22 22 [ "$1" = "remove" ] && update-inetd --disable git 23 23 24 perl -i.bak -ne ' s%^### (BEGIN|END) invirt-dev\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers24 perl -i.bak -ne 'print unless /^### BEGIN invirt-dev/../^### END invirt-dev/' /etc/sudoers 25 25 ;; 26 26 -
trunk/packages/xvm-munin-config/debian/changelog
r2970 r3011 1 xvm-munin-config (0.0.12) unstable; urgency=low 2 3 * Use the .. perl operator to simplify the prerms. 4 5 -- Evan Broder <broder@mit.edu> Thu, 27 May 2010 11:55:31 -0400 6 1 7 xvm-munin-config (0.0.11) unstable; urgency=low 2 8 -
trunk/packages/xvm-munin-config/debian/xvm-munin-console-config.prerm
r1761 r3011 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne ' s%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers22 perl -i.bak -ne 'print unless /^### BEGIN xvm-munin-config/../^### END xvm-munin-config/' /etc/sudoers 23 23 ;; 24 24 -
trunk/packages/xvm-munin-config/debian/xvm-munin-host-config.prerm
r1761 r3011 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne ' s%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers22 perl -i.bak -ne 'print unless /^### BEGIN xvm-munin-config/../^### END xvm-munin-config/' /etc/sudoers 23 23 ;; 24 24 -
trunk/packages/xvm-munin-config/debian/xvm-munin-master-config.prerm
r1761 r3011 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne ' s%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers22 perl -i.bak -ne 'print unless /^### BEGIN xvm-munin-config/../^### END xvm-munin-config/' /etc/sudoers 23 23 ;; 24 24 -
trunk/packages/xvm-munin-config/debian/xvm-munin-remote-config.prerm
r1761 r3011 20 20 case "$1" in 21 21 remove|upgrade|deconfigure) 22 perl -i.bak -ne ' s%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers22 perl -i.bak -ne 'print unless /^### BEGIN xvm-munin-config/../^### END xvm-munin-config/' /etc/sudoers 23 23 ;; 24 24
Note: See TracChangeset
for help on using the changeset viewer.