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.
This commit is contained in:
Adam Vandenberg 2010-06-17 12:40:58 -07:00
parent db9b20216b
commit 60872bf0c5

View File

@ -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