Skip to content

Commit 47e50e2

Browse files
authored
Merge pull request #45 from adamniedzielski/change-nodejs-repo
Change Node.js repository to NodeSource
2 parents 766b541 + 910e511 commit 47e50e2

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

rails-install-ubuntu.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@
22

33
set -e
44

5-
if ! grep -q xenial /etc/lsb-release
6-
then
7-
echo "Adding PPA for up-to-date Node.js runtime. Give your password when asked."
8-
sudo add-apt-repository ppa:chris-lea/node.js
9-
else
10-
: # Xenial not (yet, as of April 2016) supported by that ppa,
11-
# use default distro node.js.
12-
fi
5+
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
136

147
echo "Updates packages. Asks for your password."
158
sudo apt-get update -y

0 commit comments

Comments
 (0)