fix: Shellcheck

This commit is contained in:
Kroese 2024-05-12 13:49:17 +02:00 committed by GitHub
parent 17e87904ba
commit 45142fe5a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ skipInstall() {
info "Please start with an empty /storage folder, if you want to install a different version of Windows."
return 0
fi
[ -f "$previous" ] && rm -f "$previous" || true
[ -f "$previous" ] && rm -f "$previous"
return 1
fi
fi
@ -128,7 +128,7 @@ finishInstall() {
if [[ "$iso" == "$STORAGE/"* ]]; then
if [[ "$aborted" != [Yy1]* ]] || [ -z "$CUSTOM" ]; then
base=$(basename $iso)
base=$(basename "$iso")
echo "$base" > "$STORAGE/windows.base"
fi
fi