From 7383596f8c65f2422a50de2c87a43644d417647f Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Wed, 11 Nov 2015 21:37:04 +0000 Subject: [PATCH] Allow tty-less docker-inside-docker usage --- packaging/test/archlinux.sh | 2 +- packaging/test/opensuse.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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