#!/bin/sh -e

# Check that AlternC is properly installed AND configured
if [ -f /etc/alternc/local.sh ]
then
    exit 0
else
    # Source debconf library.
    . /usr/share/debconf/confmodule
    db_version 2.0
    db_title AlternC-Awstats
    db_fset alternc-awstats/errorinstall seen false
    db_input medium alternc-awstats/errorinstall
    db_go
    exit 1
fi

#DEBHELPER#