Prva verzija za buster.
[mailman-cn.git] / debian / postinst
index a89c76d..298f3e9 100755 (executable)
@@ -1,12 +1,13 @@
-#!/bin/sh -e
+#!/bin/sh
 
 set -e
 
 [ "$1" = "configure" ] || exit 0
 [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
 
-# Load CARNet tools
+# Load CARNET tools
 . /usr/share/carnet-tools/functions.sh
+
 # Load Debconf
 . /usr/share/debconf/confmodule
 
@@ -22,8 +23,9 @@ if [ ! -L /etc/apache2/conf-available/mailman-cn.conf -a ! -f /etc/apache2/conf-
   ln -sf /etc/mailman/apache.conf /etc/apache2/conf-available/mailman-cn.conf
 fi
 
-a2enconf mailman-cn
-a2enmod cgid
+a2enconf mailman-cn --quiet
+a2enmod cgid --quiet
+a2enmod cgi --quiet
 
 if [ -L /etc/apache2/conf.d/mailman-cn.conf ]; then
   rm -f /etc/apache2/conf.d/mailman-cn.conf