Add Arch Linux to install-gui.sh script (#14059)
* Add Arch Linux to install script Install-gui.sh will now install nodejs and npm on Arch Linux * Removed the 'y' in the pacman install command Removed the 'y' in the pacman install command
This commit is contained in:
parent
cf1ccdc554
commit
ae5343a781
|
@ -148,6 +148,13 @@ if [ "$(uname)" = "Linux" ]; then
|
||||||
sudo dnf install -y nodejs
|
sudo dnf install -y nodejs
|
||||||
fi
|
fi
|
||||||
do_install_npm_locally
|
do_install_npm_locally
|
||||||
|
elif type pacman >/dev/null 2>&1 && [ -f /etc/arch-release ]; then
|
||||||
|
#Arch Linux
|
||||||
|
if ! nodejs_is_installed; then
|
||||||
|
echo "Installing nodejs on Arch Linux"
|
||||||
|
sudo pacman -S nodejs npm
|
||||||
|
fi
|
||||||
|
do_install_npm_locally
|
||||||
fi
|
fi
|
||||||
elif [ "$(uname)" = "Darwin" ] && type brew >/dev/null 2>&1; then
|
elif [ "$(uname)" = "Darwin" ] && type brew >/dev/null 2>&1; then
|
||||||
# MacOS
|
# MacOS
|
||||||
|
|
Loading…
Reference in New Issue