Skip to content

Commit

Permalink
fix: remove download file
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyuanlau committed Aug 4, 2022
1 parent 33a2f8d commit 190783d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ mkdir -p "$ASDF_DOWNLOAD_PATH"

release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME"

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

# Extract contents of tar.gz file into the download directory
# tar -xzf "$release_file" -C "$ASDF_DOWNLOAD_PATH" --strip-components=1 || fail "Could not extract $release_file"

# Remove the tar.gz file since we don't need to keep it
# rm "$release_file"
# Remove the file since we don't need to keep it
rm "$release_file"

0 comments on commit 190783d

Please sign in to comment.