revert: Simplify conditional checks (#1414)

This reverts commit 9c08dc7b1e.
This commit is contained in:
Kroese 2025-09-21 23:04:29 +02:00 committed by GitHub
parent 9c08dc7b1e
commit 0f918c8cb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 27 additions and 27 deletions

View file

@ -91,7 +91,7 @@ finish() {
done
fi
if [ ! -f "$STORAGE/windows.boot" && -f "$BOOT" ]; then
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$BOOT" ]; then
# Remove CD-ROM ISO after install
if ready; then
touch "$STORAGE/windows.boot"