Re: r1381 - in glibc-package/trunk/debian: . local/manpages local/usr_sbin
Gabor Gombas wrote:
On Mon, Apr 10, 2006 at 11:28:18AM +0200, Aurelien Jarno wrote:
However, that does not fix #345907. Does anybody has an idea how to fix
that? I think it is a good idea to let the user update it's timezone
manually, given the way we handle timezone in the stable release (though
it should now be easy with the tzdata package).
How about storing the md5sum of /etc/localtime and updating it only if
the checksum has not been changed (and warning the user otherwise).
X.org does something similar for auto-updating xorg.conf if the user did
not change it manually.
That looks an idea, but we have to verify that all scripts that modify
this file are actually using this mechanism. Actually, I think we also
have to do that for the ln -> cp change.
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.
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' email@example.com | firstname.lastname@example.org
`- people.debian.org/~aurel32 | www.aurel32.net