From 90d12524c554758ecbf3f68002bb35c893aa77aa Mon Sep 17 00:00:00 2001 From: Markus Storm Date: Sat, 9 May 2020 02:07:57 +0200 Subject: [PATCH] hotfix to download aarch32hf instead of sf on multiple returns in Azul REST API Signed-off-by: Markus Storm --- functions/java-jre.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/java-jre.bash b/functions/java-jre.bash index 5627d3977..b1fe7b8c0 100644 --- a/functions/java-jre.bash +++ b/functions/java-jre.bash @@ -147,9 +147,9 @@ fetch_zulu_tar_url(){ if [ "$1" == "32-bit" ]; then if is_arm; then - downloadlink=$(curl "${link}&arch=arm&hw_bitness=32" -s -L -I -o /dev/null -w '%{url_effective}') + downloadlink=$(curl "${link}&arch=arm&hw_bitness=32" -s -L -I -o /dev/null -w '%{url_effective}' | sed -e 's#32sf#32hf#g') else - downloadlink=$(curl "${link}&arch=x86&hw_bitness=32" -s -L -I -o /dev/null -w '%{url_effective}') + downloadlink=$(curl "${link}&arch=x86&hw_bitness=32" -s -L -I -o /dev/null -w '%{url_effective}' | sed -e 's#32sf#32hf#g') fi elif [ "$1" == "64-bit" ]; then