mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05:50 +00:00
Update install.sh
This commit is contained in:
parent
48807ea887
commit
3913b789bb
1 changed files with 6 additions and 4 deletions
|
|
@ -838,13 +838,15 @@ copyOEM() {
|
|||
|
||||
buildImage() {
|
||||
|
||||
local dir="$1"
|
||||
local iso="$1"
|
||||
local dir="$2"
|
||||
local failed="N"
|
||||
local cat="BOOT.CAT"
|
||||
local log="/run/shm/iso.log"
|
||||
local size size_gb space space_gb desc
|
||||
local out="$TMP/${BASE%.*}.tmp"
|
||||
local base size size_gb space space_gb desc
|
||||
|
||||
base=$(basename "$iso")
|
||||
local out="$TMP/${base%.*}.tmp"
|
||||
rm -f "$out"
|
||||
|
||||
desc=$(printVersion "$DETECTED" "ISO")
|
||||
|
|
@ -1007,7 +1009,7 @@ if ! copyOEM "$DIR"; then
|
|||
exit 63
|
||||
fi
|
||||
|
||||
if ! buildImage "$DIR"; then
|
||||
if ! buildImage "$ISO" "$DIR"; then
|
||||
exit 65
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue