set -e
+[ "$1" = "configure" ] || exit 0
[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
-# Source debconf library.
+# Load Debconf
. /usr/share/debconf/confmodule
-case "$1" in
- configure)
- # continue below
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- exit 0
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 0
- ;;
-esac
-
-
-# Include CARNet functions.
+# Load CARNet Tools
. /usr/share/carnet-tools/functions.sh
PKG="apache2-cn"