From 6a735b6596048e335ad83d468182ac5a3c4c5e0c Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 26 May 2024 23:36:26 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index 66ffc78..8fd09c4 100644 --- a/src/install.sh +++ b/src/install.sh @@ -119,10 +119,10 @@ finishInstall() { fi rm -f "$STORAGE/windows.old" + rm -f "$STORAGE/windows.type" rm -f "$STORAGE/windows.base" rm -f "$STORAGE/windows.boot" rm -f "$STORAGE/windows.mode" - rm -f "$STORAGE/windows.type" cp -f /run/version "$STORAGE/windows.ver" @@ -155,7 +155,7 @@ finishInstall() { fi fi - if [ -n "$DISK_TYPE" ] && [[ "${DISK_TYPE,,}" != "scsi" ]]; then + if [ -n "${DISK_TYPE:-}" ] && [[ "${DISK_TYPE:-}" != "scsi" ]]; then echo "$DISK_TYPE" > "$STORAGE/windows.type" fi