From 7e970a8e183bd4df9fde2b5856dfa55e34e42fc1 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 16 Feb 2024 12:32:06 +0100 Subject: [PATCH] fix: Convert line endings (#171) --- src/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index e37346a..bf1db33 100644 --- a/src/install.sh +++ b/src/install.sh @@ -797,7 +797,8 @@ prepareXP() { [[ "${arch,,}" == "amd64" ]] && key="B66VY-4D94T-TPPD4-43F72-8X4FY" local sif="$target/WINNT.SIF" - { echo "[Data]" + + { echo "[Data]" echo "AutoPartition=1" echo "MsDosInitiated=\"0\"" echo "UnattendedInstall=\"Yes\"" @@ -850,7 +851,7 @@ prepareXP() { echo "" echo "[TerminalServices]" echo "AllowConnections=1" - } > "$sif" + } | unix2dos > "$sif" return 0 }