From 9e6f04137d18a8d2624b6dc8942aebc3dfc1c891 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 10 Mar 2025 15:36:14 +0100 Subject: [PATCH] fix sed --- install/npm-plus-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/npm-plus-install.sh b/install/npm-plus-install.sh index 695e52a..e03b87d 100644 --- a/install/npm-plus-install.sh +++ b/install/npm-plus-install.sh @@ -48,8 +48,8 @@ msg_ok "Get NginxProxyManager Plus" read -r -p "Enter your TZ Timezone (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List): " TZ_INPUT read -r -p "Enter your ACME Email: " ACME_EMAIL_INPUT -sed -i "s|TZ=.*|TZ=$TZ_INPUT|g" /opt/compose.yaml -sed -i "s|ACME_EMAIL=.*|ACME_EMAIL=$ACME_EMAIL_INPUT|g" /opt/compose.yaml +sed -i "s|TZ=.*|TZ=\"$TZ_INPUT\"|g" /opt/compose.yaml +sed -i "s|ACME_EMAIL=.*|ACME_EMAIL=\"$ACME_EMAIL_INPUT\"|g" /opt/compose.yaml msg_info "Starting NPM Plus" docker compose up -d