Sed apparently supports custom separators
This commit is contained in:
parent
d6cd2f6b51
commit
0ea82f41c5
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ function set_conf() {
|
|||
echof info "User did not attempt to configure $SITE_ADDRESS"
|
||||
else
|
||||
echof info "Setting '$SITE_ADDRESS' $SITE_ADDRESS in /app/config/siteConfig.json"
|
||||
sed -i 's/"host": "https://www.example.com"/"host": "https://"$SITE_ADDRESS/' /app/config/siteConfig.json
|
||||
sed -i 's,"host": "https://www.example.com","host": "https://"$SITE_ADDRESS,' /app/config/siteConfig.json
|
||||
fi
|
||||
;;
|
||||
GOOGLE_ANALYTICS_UID )
|
||||
|
|
Loading…
Reference in a new issue