#! /bin/sh
set -e

. /usr/share/debconf/confmodule

tzsetup

db_get time/zone
zone="$RET"
echo "$zone" > /etc/timezone
rm -f /etc/localtime
ln -sf "/usr/share/zoneinfo/$zone" /etc/localtime

exit 0
