Pass proxy properties via MC_IMAGE_HELPER_OPTS (#3601)

This commit is contained in:
Geoff Bourne
2025-08-07 08:11:56 -05:00
committed by GitHub
parent dedacfb94e
commit d5d1592c38
2 changed files with 26 additions and 12 deletions

View File

@@ -538,4 +538,18 @@ function buildDownloadList() {
result+="${repoUrl}/${version}/$c"
done
echo "$result"
}
}
function firstArrayElement {
local -n a="$1"
if (( ${#a[@]} )); then
echo "${a[0]}"
fi
}
function shiftArray {
local -n a="$1"
if (( ${#a[@]} )); then
a=("${a[@]:1}")
fi
}