From cb06fc5a16206b92d8b2af6926bd01c56ac8a5e5 Mon Sep 17 00:00:00 2001 From: Andre Zoledziowski Date: Fri, 12 Oct 2018 15:25:36 +0200 Subject: [PATCH] BugFix: platform workaround --- build.sh | 2 +- core/download_community.sh | 2 +- webapp/download_community.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 2da4ad7..300f8f9 100644 --- a/build.sh +++ b/build.sh @@ -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) diff --git a/core/download_community.sh b/core/download_community.sh index a8cc17e..8cc26d9 100644 --- a/core/download_community.sh +++ b/core/download_community.sh @@ -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) diff --git a/webapp/download_community.sh b/webapp/download_community.sh index a8cc17e..8cc26d9 100644 --- a/webapp/download_community.sh +++ b/webapp/download_community.sh @@ -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)