On Sun, 2003-02-23 at 21:26, David R. Morrison wrote:

> Hmmm... Yeah, I could do it in tetex-texmf... It's tricky, though; I only
> want to make the tetex-base script fail if its an old version of tetex-base
> that's installed.  OK, I will try some more...

Some suggestions on how to do this:
    1) md5sum. Problematic if there were a bunch of different broken
       prerm's. Great if there was only one.
    2) grep for the mistaken rm -Rf. Probably the best solution.
    3) You might be able to use dpkg -s --- I'm not sure. If so, you
       can use dpkg to compare the version. Problematic if you aren't
       careful and people built local versions of tetex-base.
    4) Break all versions, trust that the new prerm can handle it.
       Probably a bad idea; may lead to future problems.

You may want to do something like (2) and sed out the bad line. Then let
the (new) tetex-base preinst do the cleaup the right way.
        

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to