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

Re: r1381 - in glibc-package/trunk/debian: . local/manpages local/usr_sbin



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
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: