Update mido.sh

This commit is contained in:
Kroese 2024-05-17 02:14:41 +02:00 committed by GitHub
parent 283d23804d
commit 4615753e89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -319,8 +319,7 @@ getWindows() {
getCatalog() {
local id="$1"
local lang="$2"
local ret="$3"
local ret="$2"
local url=""
local name=""
local edition=""
@ -367,8 +366,8 @@ getESD() {
local editionName
local winCatalog size
winCatalog=$(getCatalog "$version" "$language" "url")
editionName=$(getCatalog "$version" "$language" "edition")
winCatalog=$(getCatalog "$version" "url")
editionName=$(getCatalog "$version" "edition")
if [ -z "$winCatalog" ] || [ -z "$editionName" ]; then
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1