Changeset 3200


Ignore:
Timestamp:
08/19/12 23:05:36 (9 months ago)
Author:
squidly
Message:

Bugfixes postinst script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/debian/alternc.postinst

    r3147 r3200  
    4848 
    4949 
     50    db_get "alternc/alternc_location" 
     51    VMAIL_HOME="$RET" 
    5052    #Create Dovecot user for mail handling FIXME change home with ALTERNC_LOC 
    5153    if ! getent group vmail; then 
     
    5355    fi 
    5456    if ! getent passwd vmail; then 
    55        useradd -g vmail -u 1998 vmail -d /var/alternc/mail -m  
     57       useradd -g vmail -u 1998 vmail -d $VMAIL_HOME/mail -m  
    5658    fi  
    57     chown -R vmail:vmail /var/alternc/mail 
    58     chmod u+w /var/alternc/mail 
    59     chmod -R g+w /var/alternc/mail 
     59    chown -R vmail:vmail $VMAIL_HOME/mail 
     60    chmod u+w $VMAIL_HOME/mail 
     61    chmod -R g+w $VMAIL_HOME/mail 
    6062 
    6163    # build local.sh if it does not exist 
Note: See TracChangeset for help on using the changeset viewer.