Sha256: 64c11ca64de049947d6107fe035367ef197d1929e2c5823a5a55c7408a3415bf
Contents?: true
Size: 904 Bytes
Versions: 3
Compression:
Stored size: 904 Bytes
Contents
# # Cookbook Name:: homebrew # Recipe:: homebrew # root = File.expand_path(File.join(File.dirname(__FILE__), "..")) require root + '/resources/homebrew' require root + '/providers/homebrew' require 'etc' directory "#{ENV['HOME']}/.flombe" do action :create end execute "install homebrew" do command "ruby -e \"$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)\"" cwd "/usr/local" not_if "test -e /usr/local/bin/brew" end homebrew "git" script "ensure the git remote is installed" do interpreter "bash" code <<-EOS cd /usr/local if [ ! -d ./.git ]; then git init git remote add origin git://github.com/mxcl/homebrew.git git fetch origin git reset --hard origin/master fi EOS end script "updating homebrew from github" do interpreter "bash" code <<-EOS /usr/local/bin/brew update >> ~/.flombe/brew.log 2>&1 EOS end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flombe-0.1.0.4 | cookbooks/homebrew/recipes/default.rb |
flombe-0.1.0.3 | cookbooks/homebrew/recipes/default.rb |
flombe-0.1.0.2 | cookbooks/homebrew/recipes/default.rb |