Changeset 2245

Show
Ignore:
Timestamp:
05/12/05 00:36:56 (19 years ago)
Author:
jerome
Message:

Saves old configuration files before upgrading

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/debian/preinst

    r2146 r2245  
    1212                chsh -s /bin/sh pykota 
    1313        fi 
     14        if [ "$1" = "upgrade" ]; then 
     15                cp -a /etc/pykota/pykota.conf /etc/pykota/pykota.conf.saved 2>/dev/null 
     16                cp -a /etc/pykota/pykotadmin.conf /etc/pykota/pykotadmin.conf.saved 2>/dev/null 
     17        fi 
    1418fi 
    1519