From 4e2e16f97b1e0065f10e149674eef9d21aae5e49 Mon Sep 17 00:00:00 2001 From: Azuki-bar <42642269+Azuki-bar@users.noreply.github.com> Date: Mon, 29 May 2023 16:32:54 +0900 Subject: [PATCH] fix install command --- bin/download | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/download b/bin/download index 9df2dfd..a6d40da 100755 --- a/bin/download +++ b/bin/download @@ -18,8 +18,9 @@ download_release "$ASDF_INSTALL_VERSION" "$release_file" # Extract contents of gz file into the download directory temp_dir=$(mktemp -d) -gzip -d -c "$release_file" > "$temp_dir/archive" -mv "$temp_dir/archive" "$ASDF_DOWNLOAD_PATH" +gzip -d -c "$release_file" > "$temp_dir/rye" +ls $temp_dir/rye +install -m 0755 "$temp_dir/rye" "$ASDF_DOWNLOAD_PATH" rm -r "$temp_dir" # Remove the tar.gz file since we don't need to keep it