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
ec912ace68
commit
b9f003a873
1 changed files with 2 additions and 4 deletions
|
|
@ -535,11 +535,9 @@ extractESD() {
|
||||||
info "$msg" && html "$msg"
|
info "$msg" && html "$msg"
|
||||||
|
|
||||||
local edition imageIndex imageEdition
|
local edition imageIndex imageEdition
|
||||||
|
edition=$(getCatalog "$version" "name")
|
||||||
|
|
||||||
edition=$(printVersion "$version" "")
|
if [ -z "$edition" ]; then
|
||||||
edition="${edition/ (Evaluation)/}"
|
|
||||||
|
|
||||||
if [ -z "$edition" ] || ! isESD "${version,,}"; then
|
|
||||||
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
|
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue