diff --git a/packaging/test/archlinux.sh b/packaging/test/archlinux.sh index 07d3eb7f..73afcb8d 100755 --- a/packaging/test/archlinux.sh +++ b/packaging/test/archlinux.sh @@ -1,5 +1,5 @@ #!/bin/sh # Install Node.js on Archlinux -pacman -Sy --noconfirm gcc make python2 nodejs npm +pacman -Sy --noconfirm gcc make python2 nodejs npm | cat ln -s /usr/bin/python2 /usr/bin/python diff --git a/packaging/test/opensuse.sh b/packaging/test/opensuse.sh index c195de99..600ac5b4 100755 --- a/packaging/test/opensuse.sh +++ b/packaging/test/opensuse.sh @@ -4,4 +4,4 @@ zypper addrepo http://download.opensuse.org/repositories/devel:languages:nodejs/openSUSE_13.2/devel:languages:nodejs.repo zypper --gpg-auto-import-keys refresh zypper --non-interactive install gcc-c++ make nodejs-devel -npm install -g npm +/usr/bin/npm install -g npm@latest