Update install.sh

This commit is contained in:
Kroese 2024-05-27 23:31:22 +02:00 committed by GitHub
parent 36b3d5687c
commit 0b36ed825b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -620,7 +620,7 @@ prepareImage() {
missing=$(basename "$dir/$EFISYS")
[ ! -f "$dir/$ETFS" ] && missing=$(basename "$dir/$ETFS")
error "failed to locate file '${missing,,}' in ISO image!"
error "Failed to locate file \"${missing,,}\" in ISO image!"
return 1
fi
@ -927,6 +927,10 @@ buildImage() {
error "File $BOOT does already exist?!" && return 1
fi
if [ -f "$ETFS" ]; then
error "Failed to locate file \"$ETFS\" in ISO image!" && return 1
fi
base=$(basename "$BOOT")
local out="$TMP/${base%.*}.tmp"
rm -f "$out"