From 60872bf0c5966a291500a5d88cf53a266bda727c Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 17 Jun 2010 12:40:58 -0700 Subject: [PATCH] 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. --- Library/Homebrew/brew.h.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb index 4af4ae47a7..c146756b13 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