Adjusting the subprocess call.

This commit is contained in:
Elliott Seyler 2015-01-11 20:42:34 -08:00
parent ace7d3d64e
commit 9153e1463d

View file

@ -142,9 +142,9 @@ class LinuxSetup(SetupFactory):
"--recv", "7F0CEB10"])
subprocess.check_call(["add-apt-repository",
"deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen"])
subprocess.check_call(["curl", "-sL",
"https://deb.nodesource.com/setup",
"|", "bash"], shell=True)
subprocess.check_call("curl -sL "
"https://deb.nodesource.com/setup"
" | bash", shell=True)
subprocess.check_call(["apt-get", "update"])
except subprocess.CalledProcessError as err:
print("Adding repositories failed. Retry, Install without"