Re: It's Huntin' Season
>>"Nicolas" == Nicolas Boullis <Boullis.Nicolas@libertysurf.fr> writes:
Nicolas> Can't you test in preinst if this file is the one you shipped in the
Nicolas> previous version ov the package ?
You may not need to do it in preinst, since these files are
created/updated in the postinst (which is the reason they can't be
marked as conffiles in the first place).
If you look at the script I posted, the user is not asked any
questions if the file on the system is the same file that is
currently being shipped. In the general case, I think this is good
enough; if one cares, one can special case the md5sum of the last
non-conffile one shipped and check that, but I hate special cases.
If in any problem you find yourself doing an immense amount of work,
the answer can be obtained by simple inspection.
Manoj Srivastava <email@example.com> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C