mirror of
https://github.com/dockur/windows.git
synced 2025-10-30 04:35:49 +00:00
Update install.sh
This commit is contained in:
parent
98cdd911b3
commit
7694074355
1 changed files with 1 additions and 4 deletions
|
|
@ -627,8 +627,6 @@ updateXML() {
|
||||||
sed -z "s/<Password>...............<Value \/>/<Password>\n <Value>$PASSWORD<\/Value>/g" -i "$asset"
|
sed -z "s/<Password>...............<Value \/>/<Password>\n <Value>$PASSWORD<\/Value>/g" -i "$asset"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat "$asset"
|
|
||||||
exit 13
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -693,9 +691,8 @@ updateImage() {
|
||||||
info "Adding $xml for automatic installation..."
|
info "Adding $xml for automatic installation..."
|
||||||
|
|
||||||
local answer="$TMP/$xml"
|
local answer="$TMP/$xml"
|
||||||
rm -f "$answer"
|
|
||||||
cp "$asset" "$answer"
|
cp "$asset" "$answer"
|
||||||
updateAsset "$answer" "$language"
|
updateXML "$answer" "$language"
|
||||||
|
|
||||||
if ! wimlib-imagex update "$loc" "$index" --command "add $answer /$file" > /dev/null; then
|
if ! wimlib-imagex update "$loc" "$index" --command "add $answer /$file" > /dev/null; then
|
||||||
MANUAL="Y"
|
MANUAL="Y"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue