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

Re: Deleting uncompressed Info/Doc files at upgrades

It strikes me that perhaps a less involved solution to this problem might
satisfy Peter's needs, while not building yet another layer of complexity
into dpkg. 

A simple script be written to grep the output of 'dpkg -L packagename' for
.gz files in man or doc directories, and test for the existence of
ungzipped versions.  If it finds files ungzipped, it could gzip them back
up.  This script could be run before upgrading a package. 

If such a script were written, Peter could use it to manually fix up
his "corrupted" ;) docs before upgrading.  If it works well, perhaps
it could later be hooked into dpkg so that it is automatically run
prior to upgrading a package.

    nSLUG       http://www.nslug.ns.ca      synrg@sanctuary.nslug.ns.ca
    Debian      http://www.debian.org       synrg@debian.org
    Chebucto    http://www.chebucto.ns.ca   aa458@chebucto.ns.ca
[ pgp key fingerprint = 7F DA 09 4B BA 2C 0D E0  1B B1 31 ED C6 A9 39 4F ]

Reply to: