4 # Source debconf library.
5 . /usr/share/debconf/confmodule
7 if [ "$1" = "configure" -a "$2" != "" ]; then
8 if dpkg --compare-versions "$2" lt "3.0.707-1" ; then
9 db_input medium "darkstat/upgrade-question/db_purge-2.5-1" || true
15 db_get darkstat/upgrade-question/db_purge-2.5-1 || true
16 if [ "$RET" = "false" ] ; then
17 # user has decided not to upgrade, installation stop here, package not configured.