Update define.sh

This commit is contained in:
Kroese 2024-05-17 01:25:11 +02:00 committed by GitHub
parent a2a8e99c35
commit 4b0e0a5bb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -870,8 +870,8 @@ getValue() {
getLink() { getLink() {
local url="" local url
url=$(getValue "$1" "" "$2") url=$(getValue "$1" "" "$2" "$3")
echo "$url" echo "$url"
return 0 return 0
@ -879,8 +879,8 @@ getLink() {
getHash() { getHash() {
local sum="" local sum
sum=$(getValue "$1" "sum" "$2") sum=$(getValue "$1" "sum" "$2" "$3")
echo "$sum" echo "$sum"
return 0 return 0
@ -888,8 +888,8 @@ getHash() {
getSize() { getSize() {
local size="" local size
size=$(getValue "$1" "size" "$2") size=$(getValue "$1" "size" "$2" "$3")
echo "$size" echo "$size"
return 0 return 0