Update update.sh

This commit is contained in:
Christoffer Martinsson 2023-07-09 20:49:57 +00:00
parent 98e821061c
commit 2fd28a4aaa

View File

@ -2,6 +2,8 @@
set -e
# Install system packages
printf -- '\033[33m Remove neovim if already installed\n\033[37m'
sudo apt -y purge --auto-remove neovim
printf -- '\033[33m Installing system packages\n\033[37m'
sudo apt update && sudo apt -y upgrade
sudo apt -y install ninja-build gettext cmake unzip curl python3 python3-pip python3-venv \
@ -30,7 +32,6 @@ sudo udevadm trigger
# Install neovim
printf -- '\033[33m Installing neovim\n\033[37m'
sudo apt -y purge --auto-remove neovim
cd ~
if [ -d ~/neovim ]; then rm -rf ~/neovim; fi
git clone https://github.com/neovim/neovim