Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

Commit

Permalink
Clean out all homebrew locations
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Sep 26, 2017
1 parent 07e345c commit 1c04307
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions script/nuke
Expand Up @@ -68,6 +68,10 @@ if all || gitconfig
end

if all || homebrew_config
warn "-> Removing Boxen managed Homebrew package configuration files from $HOMEBREW_ROOT/etc/boxen"
system "rm", "-rf", "$HOMEBREW_ROOT/etc/boxen" if force
%w(/opt/boxen/config /usr/local/etc/boxen).each do |homebrew_path|
if File.exist? homebrew_path
warn "-> Removing Boxen managed Homebrew package configuration files from #{homebrew_path}"
system "rm", "-rf", homebrew_path if force
end
end
end

0 comments on commit 1c04307

Please sign in to comment.