Update install.sh

This commit is contained in:
Kroese 2025-04-09 07:54:04 +02:00 committed by GitHub
parent 2b79710aa0
commit dd2a5da2e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -962,7 +962,7 @@ updateImage() {
local find="$file" local find="$file"
[[ "$MANUAL" == [Yy1]* ]] && find="$org" [[ "$MANUAL" == [Yy1]* ]] && find="$org"
path=$(find "$dir" -maxdepth 1 -type f -iname "$find" | head -n 1) path=$(find "$dir" -maxdepth 1 -type f -iname "$find" -print -quit)
if [ -f "$path" ]; then if [ -f "$path" ]; then
if [[ "$MANUAL" != [Yy1]* ]]; then if [[ "$MANUAL" != [Yy1]* ]]; then