Update update.sh
This commit is contained in:
parent
98e821061c
commit
2fd28a4aaa
@ -2,6 +2,8 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Install system packages
|
# 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'
|
printf -- '\033[33m Installing system packages\n\033[37m'
|
||||||
sudo apt update && sudo apt -y upgrade
|
sudo apt update && sudo apt -y upgrade
|
||||||
sudo apt -y install ninja-build gettext cmake unzip curl python3 python3-pip python3-venv \
|
sudo apt -y install ninja-build gettext cmake unzip curl python3 python3-pip python3-venv \
|
||||||
@ -30,7 +32,6 @@ sudo udevadm trigger
|
|||||||
|
|
||||||
# Install neovim
|
# Install neovim
|
||||||
printf -- '\033[33m Installing neovim\n\033[37m'
|
printf -- '\033[33m Installing neovim\n\033[37m'
|
||||||
sudo apt -y purge --auto-remove neovim
|
|
||||||
cd ~
|
cd ~
|
||||||
if [ -d ~/neovim ]; then rm -rf ~/neovim; fi
|
if [ -d ~/neovim ]; then rm -rf ~/neovim; fi
|
||||||
git clone https://github.com/neovim/neovim
|
git clone https://github.com/neovim/neovim
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user