From cfc053a62c817e07c20760d6871ffe56a5e360cd Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 17 Sep 2025 16:08:21 +0200 Subject: [PATCH] fix: Refactor variable declaration --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index 3a3440f..fd803aa 100644 --- a/src/install.sh +++ b/src/install.sh @@ -9,7 +9,7 @@ skipInstall() { local iso="$1" local method="" - local dir magic byte + local magic byte local boot="$STORAGE/windows.boot" local previous="$STORAGE/windows.base" @@ -46,7 +46,7 @@ skipInstall() { info "Detected that $method, creating a backup of your previous installation..." - dir="$STORAGE/${previous%.*}.old" + local dir="$STORAGE/${previous%.*}.old" rm -rf "$dir" mkdir -p "$dir"