#!/bin/sh -e
# Use tzsetup because it's just like tzconfig but has a debconf UI
# (Also, it can ask about whether the hardware clock is GMT..)
. /usr/share/debconf/confmodule

if [ "$1" = new ]; then
	db_get debian-installer/country || true
	tzsetup -y -g -U -c "$RET"
else
	tzsetup -y -g
fi
