mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
fix: Copy xml instead of move
This commit is contained in:
parent
bc2d8fff54
commit
9608e228db
1 changed files with 9 additions and 9 deletions
|
|
@ -57,21 +57,21 @@ replaceXML() {
|
|||
local asset="$2"
|
||||
|
||||
local path="$dir/autounattend.xml"
|
||||
[ -f "$path" ] && mv -f "$asset" "$path"
|
||||
[ -f "$path" ] && cp "$asset" "$path"
|
||||
path="$dir/Autounattend.xml"
|
||||
[ -f "$path" ] && mv -f "$asset" "$path"
|
||||
[ -f "$path" ] && cp "$asset" "$path"
|
||||
path="$dir/AutoUnattend.xml"
|
||||
[ -f "$path" ] && mv -f "$asset" "$path"
|
||||
[ -f "$path" ] && cp "$asset" "$path"
|
||||
path="$dir/autounattend.XML"
|
||||
[ -f "$path" ] && mv -f "$asset" "$path"
|
||||
[ -f "$path" ] && cp "$asset" "$path"
|
||||
path="$dir/Autounattend.XML"
|
||||
[ -f "$path" ] && mv -f "$asset" "$path"
|
||||
[ -f "$path" ] && cp "$asset" "$path"
|
||||
path="$dir/AutoUnattend.XML"
|
||||
[ -f "$path" ] && mv -f "$asset" "$path"
|
||||
[ -f "$path" ] && cp "$asset" "$path"
|
||||
path="$dir/AUTOUNATTEND.xml"
|
||||
[ -f "$path" ] && mv -f "$asset" "$path"
|
||||
[ -f "$path" ] && cp "$asset" "$path"
|
||||
path="$dir/AUTOUNATTEND.XML"
|
||||
[ -f "$path" ] && mv -f "$asset" "$path"
|
||||
[ -f "$path" ] && cp "$asset" "$path"
|
||||
|
||||
return 0
|
||||
}
|
||||
|
|
@ -238,7 +238,7 @@ extractImage() {
|
|||
local iso="$1"
|
||||
local dir="$2"
|
||||
local size size_gb space space_gb
|
||||
|
||||
|
||||
local msg="Extracting downloaded ISO image..."
|
||||
[ -n "$CUSTOM" ] && msg="Extracting local ISO image..."
|
||||
info "$msg" && html "$msg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue