From ed8e00b2b879b987febcef973c5c5437eb548b9b Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 19 May 2024 19:03:08 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index 8eca319..5aefed4 100644 --- a/src/install.sh +++ b/src/install.sh @@ -656,7 +656,7 @@ updateXML() { fi if [ -n "$PASSWORD" ]; then - pass=$(printf '%s' "{$PASSWORD}Password" | iconv -f utf-8 -t utf-16le | base64) + pass=$(printf '%s' "${PASSWORD}Password" | iconv -f utf-8 -t utf-16le | base64) admin=$(printf '%s' "${PASSWORD}AdministratorPassword" | iconv -f utf-8 -t utf-16le | base64) sed -i "s/password<\/Value>/$admin<\/Value>/g" "$asset" sed -i "s/true<\/PlainText>/<PlainText>false<\/PlainText>/g" "$asset"