Update install.sh

This commit is contained in:
Kroese 2024-01-25 15:41:07 +01:00 committed by GitHub
parent 6eb808f217
commit 79a846d9a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,9 +115,9 @@ finishInstall() {
cp /run/version "$STORAGE/windows.ver" cp /run/version "$STORAGE/windows.ver"
if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
touch "$STORAGE/windows.bios" touch "$STORAGE/windows.old"
else else
rm -f "$STORAGE/windows.bios" rm -f "$STORAGE/windows.old"
fi fi
rm -rf "$TMP" rm -rf "$TMP"
@ -505,7 +505,7 @@ buildImage() {
if ! startInstall; then if ! startInstall; then
if [ -f "$STORAGE/windows.bios" ]; then if [ -f "$STORAGE/windows.old" ]; then
BOOT_MODE="windows_legacy" BOOT_MODE="windows_legacy"
fi fi