Switching to a fresher source of node for Ubuntu

This commit is contained in:
Elliott Seyler 2015-01-11 20:23:44 -08:00
parent 6c731d1e03
commit ace7d3d64e

View file

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