Delete installed documentation after install

Documentation is all online nowadays, and is more current there.

Documentation often takes up more space than the rest of the package.

Package listings are now more relevent.

We'll make it optional as soon as one person complains.
This commit is contained in:
Max Howell 2009-08-08 14:02:22 +01:00
parent 6dbdc9ab0c
commit a84bf77515

View File

@ -190,6 +190,10 @@ class Cleaner
def initialize f def initialize f
@f=f @f=f
[f.bin, f.lib].each {|d| clean_dir d} [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 end
private private