ext/setup-js.sh: add --needed flag to pacman install command for Arch

This commit is contained in:
Henrik Lissner 2017-01-04 03:43:35 -05:00
parent 96e7f0cd12
commit 40a6201665

View file

@ -11,7 +11,7 @@ case "$OSTYPE" in
;;
linux*)
if is-arch; then
sudo pacman --noconfirm -S nodejs npm
sudo pacman --needed --noconfirm -S nodejs npm
else
echo "..."
exit 1