On Tue, Apr 11, 2006 at 10:07:17AM +0200, Denis Barbier wrote: > 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 ;) >
Ok, so basically it's using /etc/timezone as a way to flag locale updates. Nice idea I think. Could you commit that in the SVN? -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]