c369827093fae00ee976cb0897cc1be6ea095891
[webalizer-cn.git] / debian / prerm
1 #!/bin/sh
2
3 set -e
4
5 PKG="webalizer-cn"
6
7 if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
8     . /usr/share/apache2/apache2-maintscript-helper
9
10     webalizer_enable() {
11         echo "CN: Disabling $PKG configuration for Apache2."
12         return 0
13     }
14 else
15     echo "CN: Could not load Apache 2.4 maintainer script helper."
16
17     webalizer_enable() {
18         return 1
19     }
20 fi
21
22 webalizer_error() {
23     echo "CN: Error while trying to disable $PKG configuration for Apache2."
24 }
25
26 #DEBHELPER#
27
28 exit 0