7 if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
8 . /usr/share/apache2/apache2-maintscript-helper
10 squirrelmail_enable() {
11 echo "CN: Disabling $PKG configuration for Apache2."
15 echo "CN: Could not load Apache 2.4 maintainer script helper."
17 squirrelmail_enable() {
22 if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
23 if [ -f /etc/squirrelmail/apache.conf ]; then
24 cp-update -r $PKG /etc/squirrelmail/apache.conf
27 if squirrelmail_enable; then
28 apache2_invoke disconf $PKG