File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,9 @@ source "${plugin_dir}/lib/utils.bash"
1010
1111mkdir -p " $ASDF_DOWNLOAD_PATH "
1212
13- # TODO: Adapt this to proper extension and adapt extracting strategy.
14- release_file=" $ASDF_DOWNLOAD_PATH /$TOOL_NAME -$ASDF_INSTALL_VERSION .tar.xz"
13+ release_file=" $ASDF_DOWNLOAD_PATH /$TOOL_NAME -$ASDF_INSTALL_VERSION .tar.gz"
1514
16- # Download tar.xz file to the download directory
15+ # Download tar.gz file to the download directory
1716download_release " $ASDF_INSTALL_VERSION " " $release_file "
1817
1918tar -xf " $release_file " -C " $ASDF_DOWNLOAD_PATH " || fail " Could not extract $release_file "
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ download_release() {
5353 local arch=$arch_test
5454 fi
5555
56- url=" $GH_REPO /releases/download/v${version} /flarectl_${version} _${platform} _${arch} .tar.xz "
56+ url=" $GH_REPO /releases/download/v${version} /flarectl_${version} _${platform} _${arch} .tar.gz "
5757
5858 echo " * Downloading $TOOL_NAME release $version ..."
5959 curl " ${curl_opts[@]} " -o " $filename " -C - " $url " || fail " Could not download $url "
You can’t perform that action at this time.
0 commit comments