fix: install.sh

delete artifacts after install nvim and go
This commit is contained in:
bumpsoo 2024-08-15 14:20:15 +09:00
parent ed887c236b
commit cec33891b3

View file

@ -6,6 +6,7 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
sudo rm -rf /opt/nvim sudo rm -rf /opt/nvim
sudo tar -C /opt -xzf nvim-linux64.tar.gz sudo tar -C /opt -xzf nvim-linux64.tar.gz
sudo rm nvim-linux64.tar.gz
# go # go
if [ -z "$GO_VERSION" ] if [ -z "$GO_VERSION" ]
@ -15,4 +16,4 @@ fi
curl -LO https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz curl -LO https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz
sudo rm go$GO_VERSION.linux-amd64.tar.gz