+ if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ db_version 2.0
+
+ #
+ # Only try to remove Diogenes from the webserver configs if the db key
+ # diogenes/webservers exists. If not, Diogenes had not been installed
+ # correctly so we just skip the webserver part
+ #
+ if db_get "diogenes/webservers"; then
+ remove_from_webconfig
+ fi