Browse files

[nodejs::npm]: new download location from the project site as the git…

…hub tarball is missing dependencies needed to compile and fails since 0.3.0
  • Loading branch information...
1 parent 524db58 commit 82f5532d5b4647b57d2e9e33baf96a4459ed1699 @mdxp mdxp committed Feb 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 recipes/npm.rb
View
2 recipes/npm.rb
@@ -28,7 +28,7 @@
code <<-EOH
mkdir -p npm-v#{node[:nodejs][:npm]} && \
cd npm-v#{node[:nodejs][:npm]}
- curl -L http://github.com/isaacs/npm/tarball/v#{node[:nodejs][:npm]} | tar xzf - --strip-components=1 && \
+ curl -L http://registry.npmjs.org/npm/-/npm-#{node[:nodejs][:npm]}.tgz | tar xzf - --strip-components=1 && \
make uninstall install
EOH
not_if {File.exists?("/usr/local/bin/npm@#{node[:nodejs][:npm]}")}

0 comments on commit 82f5532

Please sign in to comment.