Date: Tuesday, February 1, 2011 @ 02:53:53 Author: bisson Revision: 108545
FS#22691 Modified: postfix/trunk/PKGBUILD postfix/trunk/postfix.install -----------------+ PKGBUILD | 2 +- postfix.install | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-02-01 07:30:03 UTC (rev 108544) +++ PKGBUILD 2011-02-01 07:53:53 UTC (rev 108545) @@ -3,7 +3,7 @@ # Maintainer: Paul Mattal <[email protected]> pkgname=postfix pkgver=2.8.0 -pkgrel=1 +pkgrel=2 pkgdesc='Secure, fast, easy to administer drop in replacement for Sendmail (MTA)' url='http://www.postfix.org/' arch=('i686' 'x86_64') Modified: postfix.install =================================================================== --- postfix.install 2011-02-01 07:30:03 UTC (rev 108544) +++ postfix.install 2011-02-01 07:53:53 UTC (rev 108545) @@ -3,11 +3,14 @@ getent group postfix &>/dev/null || groupadd -g 73 postfix >/dev/null getent passwd postfix &>/dev/null || useradd -u 73 -d /var/spool/postfix -g postfix -s /bin/false postfix >/dev/null - chown postfix var/spool/postfix/{active,bounce,corrupt,defer,deferred,flush,hold,incoming,private,public,maildrop,trace,saved} + cd var/spool/postfix + chown postfix active bounce corrupt defer deferred flush hold incoming private public maildrop trace saved + chgrp postdrop public maildrop + cd ../../../usr/sbin + chgrp postdrop postqueue postdrop + chmod g+s postqueue postdrop + cd ../.. chown postfix var/lib/postfix - chgrp postdrop var/spool/postfix/{public,maildrop} - chgrp postdrop usr/sbin/{postqueue,postdrop} - chmod g+s usr/sbin/{postqueue,postdrop} newaliases } @@ -15,7 +18,7 @@ post_upgrade() { post_install - if [[ `vercmp $2 2.8` = -1 ]]; then cat <<EOF + if [ `vercmp $2 2.8` = -1 ]; then cat <<EOF ==> You must now execute "/etc/rc.d/postfix reload" (or restart). ==> This is needed because the queue manager to delivery agent
