Changeset 2158

Show
Ignore:
Timestamp:
04/18/08 01:08:10 (3 months ago)
Author:
anarcat
Message:

also fix database user variable expansion in debian configuration. without this, it is probably not possible to change the database user from the debconf prompts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/debian/config

    r2132 r2158  
    4747    # * convert mysql variables into our MYSQL_ naming convention (;s) 
    4848    # * print the result (;p) 
    49     eval `sed -n -e "/=/{s/ *= *\"\?/='/;s/\"\?\$/'/;s/host/MYSQL_HOST/;s/user/MYSQL_LOGIN/;s/password/MYSQL_PASS/;s/database/MYSQL_DATABASE/;p}" /etc/alternc/my.cnf` 
     49    eval `sed -n -e "/=/{s/ *= *\"\?/='/;s/\"\?\$/'/;s/host/MYSQL_HOST/;s/user/MYSQL_USER/;s/password/MYSQL_PASS/;s/database/MYSQL_DATABASE/;p}" /etc/alternc/my.cnf` 
    5050fi 
    5151