diff options
author | Maik Schreiber <blizzy@gentoo.org> | 2002-07-10 01:18:52 +0000 |
---|---|---|
committer | Maik Schreiber <blizzy@gentoo.org> | 2002-07-10 01:18:52 +0000 |
commit | 97993cf6df31aeb3c3fd265df08160b264a0faa8 (patch) | |
tree | 0d76a525d308276f3cdcd95fcda431951ad7a5ce /net-mail | |
parent | tested and added ppc to KEYWORDS (diff) | |
download | gentoo-2-97993cf6df31aeb3c3fd265df08160b264a0faa8.tar.gz gentoo-2-97993cf6df31aeb3c3fd265df08160b264a0faa8.tar.bz2 gentoo-2-97993cf6df31aeb3c3fd265df08160b264a0faa8.zip |
post-installation note about /etc/mail/aliases will only be displayed when /etc/mail/aliases.db does not exist
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/postfix/postfix-1.1.11-r1.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/net-mail/postfix/postfix-1.1.11-r1.ebuild b/net-mail/postfix/postfix-1.1.11-r1.ebuild index fff792ea2719..7dba8d6131c0 100644 --- a/net-mail/postfix/postfix-1.1.11-r1.ebuild +++ b/net-mail/postfix/postfix-1.1.11-r1.ebuild @@ -125,13 +125,16 @@ src_install () { pkg_postinst() { install -d 0755 ${ROOT}/var/spool/postfix - ewarn "First time installers: You must edit" - ewarn "/etc/mail/aliases to suit your needs and then run" - ewarn "/usr/bin/aliases. Postfix will not work correctly" - ewarn "without it." - ewarn "" ewarn "If you've upgraded from <postfix-1.1.8, you must update" ewarn "/etc/postfix/master.cf to the latest version" ewarn "(/etc/postfix/._cfg*_master.cf). Otherwise Postfix will" ewarn "not work correctly." + + if [ ! -e /etc/mail/aliases.db ] ; then + ewarn "" + ewarn "First time installers: You must edit" + ewarn "/etc/mail/aliases to suit your needs and then run" + ewarn "/usr/bin/aliases. Postfix will not work correctly" + ewarn "without it." + fi } |