#!/bin/sh -e

# Source debconf library.
. /usr/share/debconf/confmodule

# Decide how important it is for the user to see this message
PRIORITY=high
# File existence is a sufficient check since this runs before unpacking
[ -f /etc/whereami/whereami.conf ] && PRIORITY=low

# Explain how to configure whereami
db_input $PRIORITY whereami/how_to_configure || true
db_go

# This will be pretty important during the transition.
db_input high whereami/use_old_whereami || true
db_go

