From 2b9fb3e7c87778ac77e8808515aaab4f8591641a Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 23 May 2024 00:15:29 +0200 Subject: [PATCH] fix: Shellcheck --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index 0cd7a5c..52552b9 100644 --- a/src/install.sh +++ b/src/install.sh @@ -176,14 +176,14 @@ abortInstall() { detectCustom() { - local file + local file base CUSTOM="" file=$(find / -maxdepth 1 -type f -iname custom.iso | head -n 1) [ ! -s "$file" ] && file=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.iso | head -n 1) if [ ! -s "$file" ] && [[ "${VERSION,,}" != "http"* ]]; then - local base=$(basename "$VERSION") + base=$(basename "$VERSION") file="$STORAGE/$base" fi