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:
parent
db9b20216b
commit
60872bf0c5
@ -481,13 +481,9 @@ end
|
|||||||
class Cleaner
|
class Cleaner
|
||||||
def initialize f
|
def initialize f
|
||||||
@f=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}
|
[f.bin, f.sbin, f.lib].each {|d| clean_dir d}
|
||||||
|
|
||||||
# info pages suck
|
# info pages suck
|
||||||
info = f.share+'info'
|
info = f.share+'info'
|
||||||
info.rmtree if info.directory? and not f.skip_clean? info
|
info.rmtree if info.directory? and not f.skip_clean? info
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user