Improve install script
This commit is contained in:
parent
e9661f2446
commit
e71a31a11d
|
@ -37,15 +37,16 @@ fi
|
||||||
#################################################
|
#################################################
|
||||||
|
|
||||||
if $NVIM; then
|
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
|
if [[ $OS == "NAME=\"Arch Linux\"" ]]; then
|
||||||
$SUDO pacman -Sy --needed --noconfirm $dependencies
|
$SUDO pacman -Sy --needed --noconfirm $dependencies npm
|
||||||
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
elif [[ $OS == "NAME=\"Ubuntu\"" ]]; then
|
||||||
$SUDO apt update
|
$SUDO apt update
|
||||||
$SUDO apt install -y software-properties-common
|
$SUDO apt install -y software-properties-common
|
||||||
$SUDO add-apt-repository ppa:neovim-ppa/unstable -y
|
$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 update
|
||||||
$SUDO apt install -y $dependencies
|
$SUDO apt install -y $dependencies python3-venv nodejs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ln -s $PWD/nvim $XDG_CONFIG_HOME/nvim
|
ln -s $PWD/nvim $XDG_CONFIG_HOME/nvim
|
||||||
|
|
Loading…
Reference in New Issue