X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=a631659bf845909aebf51f7c10f069f0cef1e2da;hb=refs%2Fheads%2Fstretch;hp=f25b12c1e164105c2473ded6ad8feb2a5db99cde;hpb=061eb7029db45cc2b032adbd80418542476693ce;p=mailman-cn.git diff --git a/debian/postinst b/debian/postinst index f25b12c..a631659 100755 --- a/debian/postinst +++ b/debian/postinst @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh set -e @@ -7,6 +7,7 @@ set -e # 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 cgi +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