diff --git a/debian/control b/debian/control index 414fd6f2..c476ca2f 100644 --- a/debian/control +++ b/debian/control @@ -8,8 +8,7 @@ Standards-Version: 3.7.2.1 Package: alternc Architecture: all -Pre-Depends: postfix -Depends: debianutils (>= 1.13.1), debconf (>= 0.5.00) | debconf-2.0, libapache-mod-php4 | libapache-mod-php5, apache, apache-ssl, courier-ssl, courier-imap-ssl, courier-pop-ssl, mysql-server, php4-mysql | php5-mysql, phpmyadmin, proftpd-mysql, squirrelmail, postfix-tls, bind9, wget, rsync, quota, courier-authmysql, ca-certificates, locales, perl-suid, perl, postfix-mysql, wwwconfig-common, sasl2-bin, libsasl2-modules, php4-cli | php5-cli, lockfile-progs (>= 0.1.9), gettext (>= 0.10.40-5), pdksh (>= 5.2.14-6), adduser +Depends: debianutils (>= 1.13.1), debconf (>= 0.5.00) | debconf-2.0, libapache-mod-php4 | libapache-mod-php5, apache, apache-ssl, courier-ssl, courier-imap-ssl, courier-pop-ssl, mysql-server, php4-mysql | php5-mysql, phpmyadmin, postfix, proftpd-mysql, squirrelmail, postfix-tls, bind9, wget, rsync, quota, courier-authmysql, ca-certificates, locales, perl-suid, perl, postfix-mysql, wwwconfig-common, sasl2-bin, libsasl2-modules, php4-cli | php5-cli, lockfile-progs (>= 0.1.9), gettext (>= 0.10.40-5), pdksh (>= 5.2.14-6), adduser Recommends: libapache-mod-gzip Conflicts: alternc-admintools, alternc-awstats (<= 0.3.2), alternc-webalizer (<= 0.9.4) Provides: alternc-admintools diff --git a/debian/postinst b/debian/postinst index 86a8a869..78e47fb4 100644 --- a/debian/postinst +++ b/debian/postinst @@ -38,6 +38,9 @@ update_var() { case "$1" in configure) + # ajoute l'user postfix au groupe sasl + adduser --quiet postfix sasl + # build local.sh if it does not exist if [ ! -f $CONFIGFILE ]; then cat > $CONFIGFILE <