fix(scripts): quoting mistake
This commit is contained in:
parent
7e291fad6a
commit
702d352988
@ -30,12 +30,12 @@ printf "done\n"
|
||||
printf "updating configuration files... "
|
||||
|
||||
# update main.cf
|
||||
sed -i 's/{LOCAL_HOSTNAME}/${LOCAL_HOSTNAME}/' /tmp/main.cf.insert
|
||||
sed -i 's/{LOCAL_DOMAINNAME}/${LOCAL_DOMAINNAME}/' /tmp/main.cf.insert
|
||||
sed -i 's/{SMARTHOST}/${SMARTHOST}/' /tmp/main.cf.insert
|
||||
sed -i 's/{SMARTHOST_PORT}/${SMARTHOST_PORT}/' /tmp/main.cf.insert
|
||||
sed -i 's/{SMARTHOST_USERNAME}/${SMARTHOST_USERNAME}/' /tmp/main.cf.insert
|
||||
sed -i 's/{SMARTHOST_PASSWORD}/${SMARTHOST_PASSWORD}/' /tmp/main.cf.insert
|
||||
sed -i "s/{LOCAL_HOSTNAME}/${LOCAL_HOSTNAME}/" /tmp/main.cf.insert
|
||||
sed -i "s/{LOCAL_DOMAINNAME}/${LOCAL_DOMAINNAME}/" /tmp/main.cf.insert
|
||||
sed -i "s/{SMARTHOST}/${SMARTHOST}/" /tmp/main.cf.insert
|
||||
sed -i "s/{SMARTHOST_PORT}/${SMARTHOST_PORT}/" /tmp/main.cf.insert
|
||||
sed -i "s/{SMARTHOST_USERNAME}/${SMARTHOST_USERNAME}/" /tmp/main.cf.insert
|
||||
sed -i "s/{SMARTHOST_PASSWORD}/${SMARTHOST_PASSWORD}/" /tmp/main.cf.insert
|
||||
|
||||
LOCAL_ENCRYPTION="$(convertCase "$LOCAL_ENCRYPTION")"
|
||||
case "$LOCAL_ENCRYPTION" in
|
||||
|
Loading…
Reference in New Issue
Block a user