From 79a846d9a37a93a1c1cf01f236d50211210830cb Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 25 Jan 2024 15:41:07 +0100 Subject: [PATCH] Update install.sh --- src/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index 76dcc4f..14edce5 100644 --- a/src/install.sh +++ b/src/install.sh @@ -115,9 +115,9 @@ finishInstall() { cp /run/version "$STORAGE/windows.ver" if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then - touch "$STORAGE/windows.bios" + touch "$STORAGE/windows.old" else - rm -f "$STORAGE/windows.bios" + rm -f "$STORAGE/windows.old" fi rm -rf "$TMP" @@ -505,7 +505,7 @@ buildImage() { if ! startInstall; then - if [ -f "$STORAGE/windows.bios" ]; then + if [ -f "$STORAGE/windows.old" ]; then BOOT_MODE="windows_legacy" fi