###
### source common stuff
###
dbc_go(){
	. /usr/share/dbconfig-common/dpkg/common
	dbc_config $@

	if [ "$dbc_command" = "purge" ]; then
		# remove the dbc configuration file
		rm -f /etc/dbconfig-common/$dbc_package.conf || true
		ucf -p "/etc/dbconfig-common/$dbc_package.conf" || true
		# forget everything we ever new related to debconf+dbc
		for t in $dbc_register_templates; do
			db_unregister $dbc_package/$t || true
		done
	fi
}
