From e71a31a11dfca2b30ac6e11326d16d5a9aaa004d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Mon, 17 Jul 2023 16:53:15 +0200 Subject: [PATCH] Improve install script --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 32fa5e6..26a8b07 100755 --- a/install.sh +++ b/install.sh @@ -37,15 +37,16 @@ fi ################################################# if $NVIM; then - dependencies="neovim git npm unzip fzf cmake gcc make curl wget" + dependencies="neovim git unzip fzf cmake gcc make curl wget" if [[ $OS == "NAME=\"Arch Linux\"" ]]; then - $SUDO pacman -Sy --needed --noconfirm $dependencies + $SUDO pacman -Sy --needed --noconfirm $dependencies npm elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then $SUDO apt update $SUDO apt install -y software-properties-common $SUDO add-apt-repository ppa:neovim-ppa/unstable -y + $SUDO curl -sL https://deb.nodesource.com/setup_14.x | $SUDO bash - $SUDO apt update - $SUDO apt install -y $dependencies + $SUDO apt install -y $dependencies python3-venv nodejs fi ln -s $PWD/nvim $XDG_CONFIG_HOME/nvim