Permalink
Browse files

[nodejs::npm]: use make dev for npm build so we actually install the …

…version we want and not always the latest one as with make install
  • Loading branch information...
1 parent 82f5532 commit 537a1c87e3c86329334bad84f81357780de6d80d @mdxp mdxp committed Feb 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 recipes/npm.rb
View
@@ -29,7 +29,7 @@
mkdir -p npm-v#{node[:nodejs][:npm]} && \
cd npm-v#{node[:nodejs][:npm]}
curl -L http://registry.npmjs.org/npm/-/npm-#{node[:nodejs][:npm]}.tgz | tar xzf - --strip-components=1 && \
- make uninstall install
+ make uninstall dev
EOH
not_if {File.exists?("/usr/local/bin/npm@#{node[:nodejs][:npm]}")}
end

0 comments on commit 537a1c8

Please sign in to comment.