Commit 8e39596c authored by f00wl's avatar f00wl 🦉
Browse files

fix sed regex

parent 59a69b2c
......@@ -14,7 +14,7 @@ check_deps() {
get_fill_template() {
curl -sL https://git.felinn.org/FELINN/tools/nginx-new-host/raw/master/template.conf -o ${NEW_NGINX_CONF_FILE}
sed -i 's/{{ hosname }}/${NEW_HOSTNAME}/g' ${NEW_NGINX_CONF_FILE}
sed -i 's/{{ hostname }}/${NEW_HOSTNAME}/g' ${NEW_NGINX_CONF_FILE}
sed -i 's/{{ ip }}/${NEW_IP}/g' ${NEW_NGINX_CONF_FILE}
sed -i 's/{{ port }}/${NEW_PORT}/g' ${NEW_NGINX_CONF_FILE}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment