From 124494e1d7d1b9fde4f7ab155c1da7254c454c64 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 16 Apr 2024 13:55:31 +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 0e2be7a..304f369 100644 --- a/src/install.sh +++ b/src/install.sh @@ -93,6 +93,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="" MACHINE="q35"