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() { 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