fix update script

master
RageCage64 2 years ago
parent 829540ce97
commit e0f0082b9c

@ -1,12 +1,10 @@
#!/usr/bin/env bash
TMP_DIR="tmp_nvim"
mkdir -p ${TMP_DIR}
# Download latest nightly release of Neovim
curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz | \
sudo tar -d ${TMP_DIR} -xzf /dev/stdin
wget --output-document=/dev/stdout https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz | \
tar --directory ${TMP_DIR} -xzf /dev/stdin
rm -rf ~/neovim
sudo rm -rf ~/neovim
sudo mv ${TMP_DIR}/nvim-linux64 ~/neovim

Loading…
Cancel
Save