From a43c3937731bbd3ed0560fb1799f5b4d35cbb8ba Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 22 May 2024 12:28:10 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/install.sh b/src/install.sh index 24e1221..852cdad 100644 --- a/src/install.sh +++ b/src/install.sh @@ -4,11 +4,6 @@ set -Eeuo pipefail file=$(find / -maxdepth 1 -type f -iname boot.iso | head -n 1) [ ! -s "$file" ] && file=$(find "$STORAGE" -maxdepth 1 -type f -iname boot.iso | head -n 1) -if [ ! -s "$file" ] && [[ "${BOOT,,}" != "http"* ]]; then - base=$(basename "$BOOT") - file="$STORAGE/$base" -fi - if [ -f "$file" ] && [ -s "$file" ]; then BOOT="$file" return 0