From 87829aa8d1cb7a15dafe0f6ac0269ed01f72b69a Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 16 Apr 2024 14:05:59 +0200 Subject: [PATCH] feat: Allow filenames in VERSION --- src/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/install.sh b/src/install.sh index 84aaa3b..5e8dc7f 100644 --- a/src/install.sh +++ b/src/install.sh @@ -18,6 +18,7 @@ fi CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.iso -printf "%f\n" | head -n 1) [ -z "$CUSTOM" ] && CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname boot.iso -printf "%f\n" | head -n 1) [ -z "$CUSTOM" ] && CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.img -printf "%f\n" | head -n 1) +[ -z "$CUSTOM" ] && CUSTOM=$(find "$STORAGE" -maxdepth 1 -type f -iname "$VERSION" -printf "%f\n" | head -n 1) ESD_URL="" TMP="$STORAGE/tmp"