Fix pattern matching for recovery ISO files in install.sh to ensure correct detection of recovery images.

This commit is contained in:
Benjamin 2025-11-23 12:03:39 -05:00
parent 772f64fde1
commit b6394fe8a0
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ ensure_boot_media_ready() {
return 1
fi
if ! compgen -G "${iso_dir}/recovery-"*.iso >/dev/null 2>&1; then
if ! compgen -G "${iso_dir}/recovery-*.iso" >/dev/null 2>&1; then
log_message "No recovery ISO found in '$iso_dir'. Run setup option '101/102 - Download & Create Recovery Image' for your macOS version."
return 1
fi