3 MENUFILE="/etc/alternc/menulist.txt"
7 # Remove Awstats references from Apache configuration
8 # unconfigure /etc/alternc/templates/apache/httpd.conf
9 # unconfigure /etc/alternc/templates/apache-ssl/httpd.conf
14 #/usr/lib/alternc/quota_delete aws
15 if [ -e "$CONFIGFILE" -a -x "/usr/bin/mysql" ]; then
17 mysql -f --defaults-file=/etc/alternc/my.cnf \
18 -e "DROP TABLE IF EXISTS aws,aws_users,aws_access;"
20 #rm -rf /var/cache/awstats
21 #rm -f /etc/alternc/awstats.htpasswd
22 rm -f /etc/alternc/alterncawstats.conf \
23 /etc/apache-ssl/conf.d/alterncawstats.conf
25 # FIXME : ALTERNC DEPENDS ON APACHE2, APACHE IS NO LONGER REQUIRED
26 # REMOVE THE FOLLOWING LINE TO CLEAN THIS FILE
28 #if [ -x /usr/sbin/apache ]; then
29 # rm -f /etc/apache/conf.d/alterncawstats.conf
31 #if [ -x /usr/sbin/apache2 ]; then
32 rm -f /etc/apache2/conf.d/alterncawstats.conf
37 # dh_installdeb will replace this with shell code automatically
38 # generated by other debhelper scripts.