Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
gr1m0h committed Feb 1, 2024
1 parent 5ef9cb1 commit 500ba35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ case "$(uname -s)" in
DOWNLOAD_URL="https://github.com/xxxserxxx/gotop/releases/download/v${ASDF_INSTALL_VERSION}/gotop_v${ASDF_INSTALL_VERSION}_linux_ard64.tgz"
;;
"x86_64")
DOWNLOAD_URL="https://github.com/xxxserxxx/gotop/releases/download/v${ASDF_INSTALL_VERSION}/gotop_v${ASDF_INSTALL_VERSION}_darwin_amd64.tgz"
DOWNLOAD_URL="https://github.com/xxxserxxx/gotop/releases/download/v${ASDF_INSTALL_VERSION}/gotop_v${ASDF_INSTALL_VERSION}_linux_amd64.tgz"
;;
esac
;;
Expand Down
4 changes: 4 additions & 0 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ mkdir -p "${ASDF_INSTALL_PATH}/bin"
toolPath="${ASDF_INSTALL_PATH}/bin/gotop"

cd "${ASDF_DOWNLOAD_PATH}"
echo 1
tar xzf gotop.tgz
echo 2
mv ./gotop "${toolPath}"
echo 3
chmod +x "${toolPath}"
echo 4

0 comments on commit 500ba35

Please sign in to comment.