diff options
author | Tom Martin <slarti@gentoo.org> | 2005-05-16 21:01:21 +0000 |
---|---|---|
committer | Tom Martin <slarti@gentoo.org> | 2005-05-16 21:01:21 +0000 |
commit | 9cc51874310410c3ae2d142dc11e717306c0dd9a (patch) | |
tree | bc6df989d257759d9a4ec40b814433d36aea8906 /eclass | |
parent | Stable on sparc (diff) | |
download | gentoo-2-9cc51874310410c3ae2d142dc11e717306c0dd9a.tar.gz gentoo-2-9cc51874310410c3ae2d142dc11e717306c0dd9a.tar.bz2 gentoo-2-9cc51874310410c3ae2d142dc11e717306c0dd9a.zip |
Make the postinst be more friendly
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mailer.eclass | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/eclass/mailer.eclass b/eclass/mailer.eclass index fcd80c4b013d..9535e89922c7 100644 --- a/eclass/mailer.eclass +++ b/eclass/mailer.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mailer.eclass,v 1.7 2005/05/01 21:59:29 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mailer.eclass,v 1.8 2005/05/16 21:01:21 slarti Exp $ # # Original Authors: Fernando J. Pereda <ferdy@gentoo.org> @@ -70,7 +70,7 @@ mailer_set_profile() { mailer_wipe_confs() { local x i - ebegin "Wiping all non-used mailer profiles" + ebegin "Wiping all unused mailer profiles" for x in /etc/mail/*.mailer ; do i=${x##*/} i=${i%.mailer} @@ -83,7 +83,15 @@ mailer_wipe_confs() { } mailer_pkg_postinst() { - use mailwrapper && mailer_set_profile + if use mailwrapper ; then + einfo " " + einfo "Use either net-mail/mailer-config or app-admin/eclectic to change" + einfo "to this mailer profile:" + einfo " " + einfo " mailer-config --set-profile ${P}" + einfo " eclectic mailer set ${P}" + einfo " " + fi } mailer_pkg_postrm() { |