Looks for the correct default pattern. fixes #50

This commit is contained in:
Diego Lendoiro 2017-08-16 12:50:39 +01:00
parent 069a0ac200
commit 765683bf8f
1 changed files with 2 additions and 2 deletions

View File

@ -50,8 +50,8 @@ core_setup() {
cp $core_config{.default,} cp $core_config{.default,}
sed -i s:$default_salt:${SALT:-$default_salt}:g $core_config sed -i s:$default_salt:${SALT:-$default_salt}:g $core_config
sed -i s:$default_seed:${CIPHERSEED:-$default_seed}:g $core_config sed -i s:$default_seed:${CIPHERSEED:-$default_seed}:g $core_config
sed -i "/$default_url/ s:\/\/::" $core_config sed -i "/example.com/ s:\/\/::" $core_config
sed -i s:$default_url:${URL:-$default_url}:g $core_config sed -i s:example.com:${URL:-$default_url}:g $core_config
if [ "$ssl" != false ]; then if [ "$ssl" != false ]; then
sed -i s:http:https:g $core_config sed -i s:http:https:g $core_config
fi fi