aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.h.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb
index 3dee3ec2d..b4ff93b1c 100644
--- a/Library/Homebrew/brew.h.rb
+++ b/Library/Homebrew/brew.h.rb
@@ -190,6 +190,10 @@ class Cleaner
def initialize f
@f=f
[f.bin, f.lib].each {|d| clean_dir d}
+
+ # you can read all of this shit online nowadays, save the space
+ (f.prefix+'share'+'doc').rmtree rescue nil
+ (f.prefix+'share'+'info').rmtree rescue nil
end
private