Skip to content

Commit

Permalink
Merge branch 'versions'
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Feb 24, 2012
2 parents a5ee40a + 3a770fe commit 7b95e2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/compile
Expand Up @@ -109,7 +109,7 @@ declare -A engine_defaults
declare -A engine_requests

engine_defaults["node"]="0.4.7"
engine_defaults["npm"]="1.0.94"
engine_defaults["npm"]="1.0.106"

engine_versions["node"]=$(manifest_versions "nodejs")
engine_requests["node"]=$(package_engine_version "node")
Expand Down
6 changes: 6 additions & 0 deletions support/package_nodejs
Expand Up @@ -34,6 +34,12 @@ cd $tempdir

# download and extract node
curl http://nodejs.org/dist/v${node_version}/node-v${node_version}.tar.gz -o node.tgz

# try old-style download url if it doesnt exist
if [ "$(grep -i "404 not found" node.tgz)" != "" ]; then
curl http://nodejs.org/dist/node-v${node_version}.tar.gz -o node.tgz
fi

tar xzvf node.tgz

# go into node dir
Expand Down

0 comments on commit 7b95e2e

Please sign in to comment.