Skip to content

Commit

Permalink
Add Arch Linux to install-gui.sh script (Chia-Network#14059)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
DaOneLuna authored Dec 10, 2022
1 parent cf1ccdc commit ae5343a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@ if [ "$(uname)" = "Linux" ]; then
sudo dnf install -y nodejs
fi
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
elif [ "$(uname)" = "Darwin" ] && type brew >/dev/null 2>&1; then
# MacOS
Expand Down

0 comments on commit ae5343a

Please sign in to comment.