mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 20:25:49 +00:00
Update install.sh
This commit is contained in:
parent
96a26831a8
commit
fba584ff16
1 changed files with 2 additions and 6 deletions
|
|
@ -889,16 +889,12 @@ updateImage() {
|
||||||
index="2"
|
index="2"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local out="$TMP/extract"
|
|
||||||
rm -rf "$out"
|
|
||||||
mkdir -p "$out"
|
|
||||||
|
|
||||||
if [[ "$MANUAL" != [Yy1]* ]]; then
|
if [[ "$MANUAL" != [Yy1]* ]]; then
|
||||||
|
|
||||||
xml=$(basename "$asset")
|
xml=$(basename "$asset")
|
||||||
info "Adding $xml for automatic installation..."
|
info "Adding $xml for automatic installation..."
|
||||||
|
|
||||||
if ! wimlib-imagex extract "$loc" "$index" "/$file" "--dest-dir=$out" 2> /dev/null; then
|
if ! wimlib-imagex extract "$loc" "$index" "/$file" "--dest-dir=$TMP" 2> /dev/null; then
|
||||||
warn "failed to extract answer file ($file) from ISO image.."
|
warn "failed to extract answer file ($file) from ISO image.."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue