Bug#37307: bad logic in /usr/sbin/tzconfig
Package: libc6
Version: 2.1.1-2
/usr/sbin/tzconfig:
>TIMEZONE="`/usr/bin/tzselect`"
>if [ -z "$TIMEZONE" ]; then
> echo "$TIMEZONE" > /etc/timezone
> rm -f /etc/localtime ; ln -s /usr/share/zoneinfo/$TIMEZONE /etc/localtime
>else
> echo "$OLDTIMEZONE" > /etc/timezone
> rm -f /etc/localtime ; ln -s /usr/share/zoneinfo/$OLDTIMEZONE
/etc/localtime
>fi
This does not config the correct timezone when tzselect successfully returns.
I am using Debian potato.
Reply to: