Use doublequotes so that the email address variable is added to the configuration.

This commit is contained in:
FusionPBX 2021-01-09 12:32:54 -07:00 committed by GitHub
parent 84057d999a
commit 5699784e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ if [ .$wilcard_domain = ."true" ]; then
fi fi
#update the dehydrated config #update the dehydrated config
sed -i ' ' -e 's/#CONTACT_EMAIL=/CONTACT_EMAIL=$email_address/g' /usr/local/etc/dehydrated/config sed -i ' ' -e "s/#CONTACT_EMAIL=/CONTACT_EMAIL=$email_address/g" /usr/local/etc/dehydrated/config
sed -i ' ' -e 's/#WELLKNOWN=/WELLKNOWN=/g' /usr/local/etc/dehydrated/config sed -i ' ' -e "s/#WELLKNOWN=/WELLKNOWN=/g" /usr/local/etc/dehydrated/config
#accept the terms #accept the terms
dehydrated --register --accept-terms --config /usr/local/etc/dehydrated/config dehydrated --register --accept-terms --config /usr/local/etc/dehydrated/config