From 67116e3d0c1e01c1a0f986bff77730b7d27c111b Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 30 Apr 2024 22:57:00 +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 bd761bd..70aec16 100644 --- a/src/install.sh +++ b/src/install.sh @@ -661,7 +661,7 @@ updateImage() { local iso="$1" local dir="$2" local asset="/run/assets/$3" - local path src loc index result + local path src loc xml index result [ ! -s "$asset" ] || [ ! -f "$asset" ] && return 0 @@ -683,7 +683,7 @@ updateImage() { warn "failed to locate 'boot.wim' or 'boot.esd' in ISO image, $FB" && return 1 fi - local xml=$(basename "$asset") + xml=$(basename "$asset") info "Adding $xml for automatic installation..." index="1"