[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing entire directory trees on package installation (was: What about /usr/share/locale)



mh+debian-devel@zugschlus.de (Marc Haber) writes:

> same goes for /usr/share/doc in complete, and all man- and info pages.
> That's only needless weight on a server system that needs to be small
> and compact.
> 
This should be easy and is not really worth of making a package
for. Put this or similar in "/etc/apt/apt.conf.d/99-rmsuperfluous":

--------- snip -----------
DPkg
{
Post-Invoke {"rm -rf /usr/share/doc/* /usr/share/man/* /usr/share/info/*";};
};
--------- snip -----------

Adapt as needed.



Reply to: