#!/bin/sh
set -e

. /usr/share/debconf/confmodule

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