#! /bin/sh -e

. /usr/share/debconf/confmodule

db_get debian-installer/locale || true
LOCALE=${RET}

python /usr/lib/ubiquity/choose_apt_mirror.py $LOCALE

cp /etc/apt/sources.list /target/etc/apt/sources.list
