fix: Simplify conditional checks (#1413)

This commit is contained in:
Kroese 2025-09-21 15:15:46 +02:00 committed by GitHub
parent bfc9b357e5
commit 9c08dc7b1e
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"