From 2fd28a4aaa28dee6fed81304368886f4350ff9e3 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Sun, 9 Jul 2023 20:49:57 +0000 Subject: [PATCH] Update update.sh --- update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 800448c..973cefe 100755 --- a/update.sh +++ b/update.sh @@ -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