#!/bin/sh -e
. /usr/share/debconf/confmodule

anna-install apt-mirror-setup || true

if [ -f /etc/lsb-release ]; then
	. /etc/lsb-release
	if [ -n "$DISTRIB_CODENAME" ]; then
		db_set mirror/suite "$DISTRIB_CODENAME"
	fi
fi

exec choose-mirror
