From 99eced85d94768574b148abd17b13a0c17b04f8e Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 21 May 2024 08:23:35 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/install.sh b/src/install.sh index 5aefed4..9f3bba2 100644 --- a/src/install.sh +++ b/src/install.sh @@ -65,7 +65,7 @@ startInstall() { if [ -z "$CUSTOM" ]; then - local file="${VERSION/\//}.iso" + local file="${VERSION//\//}.iso" if [[ "${VERSION,,}" == "http"* ]]; then @@ -80,7 +80,7 @@ startInstall() { language="${language%%-*}" if [ -n "$language" ] && [[ "${language,,}" != "en" ]]; then - file="${VERSION/\//}_${language,,}.iso" + file="${VERSION//\//}_${language,,}.iso" fi fi @@ -675,8 +675,8 @@ updateImage() { local asset="$2" local language="$3" local file="autounattend.xml" - local org="${file/.xml/.org}" - local dat="${file/.xml/.dat}" + local org="${file//.xml/.org}" + local dat="${file//.xml/.dat}" local desc path src loc xml index result [[ "${DETECTED,,}" == "winxp"* ]] && return 0