From dd2a5da2e8ffd799224e7930f27335059c5a0dda Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 9 Apr 2025 07:54:04 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index 66e5c59..1c973f3 100644 --- a/src/install.sh +++ b/src/install.sh @@ -962,7 +962,7 @@ updateImage() { local find="$file" [[ "$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 [[ "$MANUAL" != [Yy1]* ]]; then