Fix a mistake in the dependency management section of the installer

Changes to be committed:
  modified:   install.sh
This commit is contained in:
Arkaprabha Chakraborty
2023-03-10 18:32:22 +05:30
parent 63948e2105
commit b085f92c07

View File

@@ -1,21 +1,19 @@
#!/bin/bash #!/bin/bash
NPMDP=""
if command -v nvim >/dev/null 2>&1 ; then if command -v nvim >/dev/null 2>&1 ; then
NPMDP="pyright prettier" :
else else
echo "No installation of Neovim was found" echo "No installation of Neovim was found"
echo "Quitting now..." echo "Quitting now..."
exit 127 exit 127
fi fi
NPMDP=""
if command -v npm >/dev/null 2>&1 ; then if command -v npm >/dev/null 2>&1 ; then
: NPMDP="pyright prettier"
else else
echo "No installation of npm was found" echo "No installation of npm was found"
echo "Quitting now..." echo "Some lsp packages won't automatically be installed"
exit 127
fi fi