fix: Find nested ISO files recursively (#2144)

This commit is contained in:
Kroese
2026-08-15 16:10:56 +02:00
committed by GitHub
parent a0822d00a7
commit 1d98f065dc
+2 -2
View File
@@ -464,8 +464,8 @@ extractImage() {
else
# Locate the first root-level ISO in the downloaded archive
if ! file=$(find "$archive" -maxdepth 1 -type f -iname "*.iso" -print -quit); then
# Locate the first ISO anywhere in the downloaded archive
if ! file=$(find "$archive" -type f -iname "*.iso" -print -quit); then
error "Failed to search for a nested ISO in the extracted archive!"
return 1
fi