aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-17 12:40:58 -0700
committerAdam Vandenberg2010-06-17 12:40:58 -0700
commit2c8a24b87fb473bbd23510dde2a464f59803b946 (patch)
treed32ba2ee6861ee81c6712c084d5c867dec199c1b /Library
parent4b9a6e0a7fa1d1f46aa053432c0b71db07920be2 (diff)
downloadhomebrew-2c8a24b87fb473bbd23510dde2a464f59803b946.tar.bz2
Tweak "clean".
The code to try to move man into share didn't seem to be working, since the code that warns if a top-level man was found was firing off. Removing this apparently dead code.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.h.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb
index 4af4ae47a..c146756b1 100644
--- a/Library/Homebrew/brew.h.rb
+++ b/Library/Homebrew/brew.h.rb
@@ -481,13 +481,9 @@ end
class Cleaner
def initialize f
@f=f
-
- # correct common issues
- share=f.prefix+'share'
- (f.prefix+'man').mv share rescue nil
-
+
[f.bin, f.sbin, f.lib].each {|d| clean_dir d}
-
+
# info pages suck
info = f.share+'info'
info.rmtree if info.directory? and not f.skip_clean? info