On Tue, Apr 11, 2006 at 06:02:47AM +0200, Aurelien Jarno wrote: > Another possibility would be to compare /etc/localtime and the file > corresponding to the timezone in /etc/timezone in the preinst script of > tzdata, ie before the timezone files are changed. If they are different, > the postinst script will update it, if not, it won't.
Then unconditionally copy it in the postinst, it does the same job and is simpler. And if /etc/timezone does not exist or does not point to a known location, /etc/localtime must not be updated. THis is exactly what I suggested in #346342 ;) Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

