fix the real problem: add postfix to the sasl group in postinst, so that we don't need postfix in pre-depends
This commit is contained in:
parent
df3cc759ac
commit
7e02add2ca
|
@ -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
|
||||
|
|
|
@ -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 <<EOF
|
||||
|
|
|
@ -6,8 +6,6 @@ set -e
|
|||
|
||||
case "$1" in
|
||||
install)
|
||||
# ajoute l'user postfix au groupe sasl
|
||||
adduser --quiet postfix sasl
|
||||
;;
|
||||
|
||||
upgrade)
|
||||
|
|
Loading…
Reference in New Issue