fix download URL path

This commit is contained in:
tengel 2024-08-30 06:59:20 -05:00
parent 560c82424f
commit ae09cd9d47

View file

@ -64,8 +64,8 @@ fi
# shellcheck disable=SC2086
noise "Attmepting to download ${_FJO_TAG} assets..."
curl ${_COPT} -f -L --output-dir "${FJO_DIR}" --remote-name-all \
"${FJO_DLB}/${_FJO_TAG}/${_FJO_NAME}" \
"${FJO_DLB}/${_FJO_TAG}/${_FJO_NAME}.sha256"
"${FJO_DLB}/v${_FJO_TAG}/${_FJO_NAME}" \
"${FJO_DLB}/v${_FJO_TAG}/${_FJO_NAME}.sha256"
if [[ $? -eq 0 ]]; then
# downloads were successful and written to disk
noise "Downloads successful, checking sha256sum..."