mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05:50 +00:00
fix: Shellcheck
This commit is contained in:
parent
e93adb9005
commit
67116e3d0c
1 changed files with 2 additions and 2 deletions
|
|
@ -661,7 +661,7 @@ updateImage() {
|
||||||
local iso="$1"
|
local iso="$1"
|
||||||
local dir="$2"
|
local dir="$2"
|
||||||
local asset="/run/assets/$3"
|
local asset="/run/assets/$3"
|
||||||
local path src loc index result
|
local path src loc xml index result
|
||||||
|
|
||||||
[ ! -s "$asset" ] || [ ! -f "$asset" ] && return 0
|
[ ! -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
|
warn "failed to locate 'boot.wim' or 'boot.esd' in ISO image, $FB" && return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local xml=$(basename "$asset")
|
xml=$(basename "$asset")
|
||||||
info "Adding $xml for automatic installation..."
|
info "Adding $xml for automatic installation..."
|
||||||
|
|
||||||
index="1"
|
index="1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue