Skip to content

Commit

Permalink
fix old url
Browse files Browse the repository at this point in the history
  • Loading branch information
osdiab committed Sep 21, 2023
1 parent 6294560 commit 0858646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ case "$(uname -s)" in
"Darwin")
arch=$(uname -m)
if [[ "$is_old_version" == "true" ]]; then
DOWNLOAD_URL="$base_download_url/v${ASDF_INSTALL_VERSION}/intlc-macos"
DOWNLOAD_URL="$base_download_url/v${ASDF_INSTALL_VERSION}/intlc_macos"
elif [[ "$arch" == "x86_64" || "$ASDF_INSTALL_VERSION" == "0.8.0" ]]; then
DOWNLOAD_URL="$base_download_url/v${ASDF_INSTALL_VERSION}/intlc-v${ASDF_INSTALL_VERSION}-macos-x86_64"
else
Expand All @@ -27,7 +27,7 @@ case "$(uname -s)" in
;;
"Linux")
if [[ "$is_old_version" == "true" ]]; then
DOWNLOAD_URL="$base_download_url/v${ASDF_INSTALL_VERSION}/intlc-linux"
DOWNLOAD_URL="$base_download_url/v${ASDF_INSTALL_VERSION}/intlc_linux"
else
DOWNLOAD_URL="$base_download_url/v${ASDF_INSTALL_VERSION}/intlc-v${ASDF_INSTALL_VERSION}-linux-x86_64"
fi
Expand Down

0 comments on commit 0858646

Please sign in to comment.