#! /bin/sh -e

. /usr/share/debconf/confmodule

if db_get debian-installer/locale; then
	export LANG="$RET"
else
	export LANG=C
fi

chroot /target "$@"
