Changeset 1781


Ignore:
Timestamp:
Nov 25, 2008, 11:16:01 PM (15 years ago)
Author:
broder
Message:

We don't need to remove the code from sudoers in the xvm-munin-config
postinst - the preinst will get run on upgrade

Location:
trunk/packages/xvm-munin-config/debian
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/xvm-munin-config/debian/changelog

    r1780 r1781  
    88  [ Evan Broder ]
    99  * Move the unnecessary Pre-Depends to a Depends
     10  * We don't need to remove the code from sudoers in the postinst - the
     11    preinst will get run on upgrade
    1012
    11  -- Evan Broder <broder@mit.edu>  Tue, 25 Nov 2008 23:13:36 -0500
     13 -- Evan Broder <broder@mit.edu>  Tue, 25 Nov 2008 23:14:07 -0500
    1214
    1315xvm-munin-config (0.0.4) unstable; urgency=low
  • trunk/packages/xvm-munin-config/debian/xvm-munin-console-config.postinst

    r1767 r1781  
    2323        # So munin can read the mail log
    2424        adduser munin adm
    25        
    26         # First clear out the old stuff we threw in /etc/sudoers
    27         perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers
    2825       
    2926        # So munin can sudo to get to postfix queue info
  • trunk/packages/xvm-munin-config/debian/xvm-munin-host-config.postinst

    r1767 r1781  
    2323        # So munin can read the mail log
    2424        adduser munin adm
    25        
    26         # First clear out the old stuff we threw in /etc/sudoers
    27         perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers
    2825       
    2926        # So munin can sudo to get to postfix queue info
  • trunk/packages/xvm-munin-config/debian/xvm-munin-master-config.postinst

    r1767 r1781  
    2323        # So munin can read the mail log
    2424        adduser munin adm
    25        
    26         # First clear out the old stuff we threw in /etc/sudoers
    27         perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers
    2825       
    2926        # So munin can sudo to get to postfix queue info
  • trunk/packages/xvm-munin-config/debian/xvm-munin-remote-config.postinst

    r1767 r1781  
    2323        # So munin can read the mail log
    2424        adduser munin adm
    25        
    26         # First clear out the old stuff we threw in /etc/sudoers
    27         perl -i.bak -ne 's%^### (BEGIN|END) xvm-munin-config\s*$%%m && ($skip = ($1 eq "BEGIN")); print unless $skip;' /etc/sudoers
    2825       
    2926        # So munin can sudo to get to postfix queue info
Note: See TracChangeset for help on using the changeset viewer.