Changeset 1239

Show
Ignore:
Timestamp:
03/11/06 16:09:55 (3 years ago)
Author:
lunar
Message:

r90@sud: lunar | 2006-03-11 15:24:41 +0100
Fix configure/unconfigure functions in postinst/postrm scripts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/debian/postinst

    r1237 r1239  
    1414function configure { 
    1515    if ! grep -Eq "\*\*\*MAILMAN\*\*\*" $1; then 
    16         cp -a -f $1.tmp 
     16        cp -a -f $1 $1.tmp 
    1717        sed -e "s/\*\*\*ALTERNC_ALIASES\*\*\*/&\\ 
    1818            # ***MAILMAN*** \\ 
  • trunk/debian/postrm

    r1237 r1239  
    77function unconfigure { 
    88    if grep -Eqs "\*\*\*MAILMAN\*\*\*" $1; then 
    9         cp -a -f $1.alternc_mailman 
     9        cp -a -f $1 $1.alternc_mailman 
    1010        cat $1 | grep -v "\*\*\*MAILMAN\*\*\*" | 
    1111            grep -v "   Alias /marchives/ /var/lib/mailman/archives/public/" |