Skip to content

Commit

Permalink
ORCID#1 change xz to gz file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbuhay authored Jan 28, 2024
1 parent f34b86e commit 15ccce0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ source "${plugin_dir}/lib/utils.bash"

mkdir -p "$ASDF_DOWNLOAD_PATH"

# TODO: Adapt this to proper extension and adapt extracting strategy.
release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION.tar.xz"
release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION.tar.gz"

# Download tar.xz file to the download directory
# Download tar.gz file to the download directory
download_release "$ASDF_INSTALL_VERSION" "$release_file"

tar -xf "$release_file" -C "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $release_file"
Expand Down

0 comments on commit 15ccce0

Please sign in to comment.