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