mirror of
https://github.com/dockur/windows.git
synced 2026-08-24 15:48:59 +01:00
fix: Find nested ISO files recursively (#2144)
This commit is contained in:
+2
-2
@@ -464,8 +464,8 @@ extractImage() {
|
|||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
# Locate the first root-level ISO in the downloaded archive
|
# Locate the first ISO anywhere in the downloaded archive
|
||||||
if ! file=$(find "$archive" -maxdepth 1 -type f -iname "*.iso" -print -quit); then
|
if ! file=$(find "$archive" -type f -iname "*.iso" -print -quit); then
|
||||||
error "Failed to search for a nested ISO in the extracted archive!"
|
error "Failed to search for a nested ISO in the extracted archive!"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user