#!/bin/sh
#                               -*- Mode: Sh -*- 
# config --- 
# Author           : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) 
# Created On       : Fri Oct 31 21:53:31 2003
# Created On Node  : glaurung.green-gryphon.com
# Last Modified By : Manoj Srivastava
# Last Modified On : Thu Dec  4 02:57:27 2003
# Last Machine Used: glaurung.green-gryphon.com
# Update Count     : 5
# Status           : Unknown, Use with caution!
# HISTORY          : 
# Description      : 
# 
# arch-tag: 527055c2-4782-4b72-8c83-724e2460938f
#

set -e

case "$1" in
  configure)
    # Configure this package.  If the package must prompt the user for
    # information, do it here.
	if [ -n "$2" ]; then
	    if dpkg --compare-versions "$2" lt "2.5.5" ; then
	         # Prompt the user about the upgrade from pre 2.5.5.
	         # The preinst will act on the result of this question.
		. /usr/share/debconf/confmodule
		db_capb
		db_input medium flex/upgrade/pre_2.5.5 || true
		db_go || true
	    fi
	fi
 
    ;;
  reconfigure)
    # Nothing to do when reconfigured.
    :
    ;;
  *) echo "$0: didn't understand being called with \`$1'" 1>&2
     exit 0;;
esac

