X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fdebian%2Fcitadel-server.postinst;h=b07a655f510f3b1ee2325b94d1c579d5358104c9;hb=a2ae8dfea31fc1495e3a97b28f3ddca01f491bef;hp=a328af8bb325f59100ecebdef8d37da5124196eb;hpb=b46743780826f3b73608b13aa1971066bc6685ca;p=citadel.git diff --git a/citadel/debian/citadel-server.postinst b/citadel/debian/citadel-server.postinst index a328af8bb..b07a655f5 100644 --- a/citadel/debian/citadel-server.postinst +++ b/citadel/debian/citadel-server.postinst @@ -37,7 +37,7 @@ case "$1" in export CITADEL='/var/run/citadel' export CITADEL_PORT=504 export CITADEL_INSTALLER=yes - export CITADEL_UID=`grep ^citadel: /etc/passwd | cut -d : -f 3` + export CITADEL_UID=`grep ^citadel: /etc/passwd | cut -d : -f 3` export ACT_AS_MTA=no export SYSADMIN_NAME=$admin export CREATE_XINETD_ENTRY=no @@ -52,10 +52,8 @@ case "$1" in echo -n "applying your settings.... " /usr/lib/citadel-server/setup -q echo "done" - # we're in a fresh install, so we send the welcome message. + # this is a new installation if test -z "$2"; then - echo "migrating mail aliases from other mailers" - /usr/lib/citadel-server/migrate_aliases.sh /etc/citadel/mail.aliases i=0; while test ! -S /var/run/citadel/lmtp.socket -a "$i" -lt "10"; do sleep 1