Update install.sh

This commit is contained in:
Kroese 2024-05-05 11:48:40 +02:00 committed by GitHub
parent 48807ea887
commit 3913b789bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -838,13 +838,15 @@ copyOEM() {
buildImage() {
local dir="$1"
local iso="$1"
local dir="$2"
local failed="N"
local cat="BOOT.CAT"
local log="/run/shm/iso.log"
local size size_gb space space_gb desc
local out="$TMP/${BASE%.*}.tmp"
local base size size_gb space space_gb desc
base=$(basename "$iso")
local out="$TMP/${base%.*}.tmp"
rm -f "$out"
desc=$(printVersion "$DETECTED" "ISO")
@ -1007,7 +1009,7 @@ if ! copyOEM "$DIR"; then
exit 63
fi
if ! buildImage "$DIR"; then
if ! buildImage "$ISO" "$DIR"; then
exit 65
fi