#!/bin/sh -e

#DEBHELPER#

if [ "$1" = "remove" ]; then

	. /usr/share/debconf/confmodule || exit
	db_version 2.0
	db_fset cxml-ev5/intro rpmok false
fi


if [ "$1" != "upgrade" ]; then
	# Clean up files installed in the postinst.
	rm -rf /usr/lib/compaq/cxml-* /usr/share/doc/cxml-ev5/R* \
		/usr/share/doc/cxml-ev5/examples \
		/usr/share/doc/cxml-ev5/webpages
fi
