1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-12 02:16:12 +00:00

BugFix: platform workaround

This commit is contained in:
Andre Zoledziowski 2018-10-12 15:25:36 +02:00
parent 501c47ec9e
commit cb06fc5a16
No known key found for this signature in database
GPG Key ID: 2A72044119624966
3 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,7 @@ else
# query community server by h5ai API
filename=$(curl -s -S -L -d "action=get&items%5Bhref%5D=%2Fcommunity%2F$component%3A%2F&items%5Bwhat%5D=1" -H \
"Accept: application/json" https://download.kopano.io/community/ | jq '.items[].href' | \
grep Debian_9.0-amd64 | sed 's#"##g' | sed "s#/community/$component:/##")
grep Debian_9.0-a | sed 's#"##g' | sed "s#/community/$component:/##")
filename=$(urldecode $filename)

View File

@ -6,7 +6,7 @@ function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
# query community server by h5ai API
filename=$(curl -s -S -L -d "action=get&items%5Bhref%5D=%2Fcommunity%2F$1%3A%2F&items%5Bwhat%5D=1" -H \
"Accept: application/json" https://download.kopano.io/community/ | jq '.items[].href' | \
grep Debian_9.0-amd64 | sed 's#"##g' | sed "s#/community/$1:/##")
grep Debian_9.0-a | sed 's#"##g' | sed "s#/community/$1:/##")
filename=$(urldecode $filename)

View File

@ -6,7 +6,7 @@ function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
# query community server by h5ai API
filename=$(curl -s -S -L -d "action=get&items%5Bhref%5D=%2Fcommunity%2F$1%3A%2F&items%5Bwhat%5D=1" -H \
"Accept: application/json" https://download.kopano.io/community/ | jq '.items[].href' | \
grep Debian_9.0-amd64 | sed 's#"##g' | sed "s#/community/$1:/##")
grep Debian_9.0-a | sed 's#"##g' | sed "s#/community/$1:/##")
filename=$(urldecode $filename)