mirror of
https://github.com/dockur/windows.git
synced 2024-06-29 02:41:57 +00:00
Update mido.sh
This commit is contained in:
parent
283d23804d
commit
4615753e89
|
@ -319,8 +319,7 @@ getWindows() {
|
||||||
getCatalog() {
|
getCatalog() {
|
||||||
|
|
||||||
local id="$1"
|
local id="$1"
|
||||||
local lang="$2"
|
local ret="$2"
|
||||||
local ret="$3"
|
|
||||||
local url=""
|
local url=""
|
||||||
local name=""
|
local name=""
|
||||||
local edition=""
|
local edition=""
|
||||||
|
@ -367,8 +366,8 @@ getESD() {
|
||||||
local editionName
|
local editionName
|
||||||
local winCatalog size
|
local winCatalog size
|
||||||
|
|
||||||
winCatalog=$(getCatalog "$version" "$language" "url")
|
winCatalog=$(getCatalog "$version" "url")
|
||||||
editionName=$(getCatalog "$version" "$language" "edition")
|
editionName=$(getCatalog "$version" "edition")
|
||||||
|
|
||||||
if [ -z "$winCatalog" ] || [ -z "$editionName" ]; then
|
if [ -z "$winCatalog" ] || [ -z "$editionName" ]; then
|
||||||
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
|
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
|
||||||
|
|
Loading…
Reference in a new issue