Permalink
Browse files

make sure you can access wget

  • Loading branch information...
1 parent fa6c132 commit c421c583ce1ef24fb100c219d7d07a86577fe2c3 @atmos atmos committed Nov 17, 2011
Showing with 7 additions and 4 deletions.
  1. +7 −4 cookbooks/python/recipes/default.rb
@@ -8,10 +8,13 @@
require root + "/resources/homebrew"
require root + "/providers/homebrew"
-execute "downloading proper distribute package" do
- command "wget http://cinderella.s3.amazonaws.com/distribute-0.6.21.tar.gz"
- cwd "#{ENV['HOME']}/Library/Caches/Homebrew"
- not_if "test -e #{ENV['HOME']}/Library/Caches/Homebrew/distribute-0.6.21.tar.gz"
+script "downloading proper distribute package" do
+ interpreter "bash"
+ code <<-EOS
+ source ~/.cinderella.profile
+ cd #{ENV['HOME']}/Library/Caches/Homebrew
+ wget http://cinderella.s3.amazonaws.com/distribute-0.6.21.tar.gz
+ EOS
end
homebrew "python"

0 comments on commit c421c58

Please sign in to comment.