diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2005-04-25 20:11:27 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2005-04-25 20:11:27 +0000 |
commit | 06892d892d7140aa84a3ce3ec20ee72836c0fc8d (patch) | |
tree | 47c84b0d10929b4fbc80d91445f0d191a9a17afb /eclass | |
parent | Adjusted amd64 depend (diff) | |
download | gentoo-2-06892d892d7140aa84a3ce3ec20ee72836c0fc8d.tar.gz gentoo-2-06892d892d7140aa84a3ce3ec20ee72836c0fc8d.tar.bz2 gentoo-2-06892d892d7140aa84a3ce3ec20ee72836c0fc8d.zip |
fix wipe_confs
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mailer.eclass | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/eclass/mailer.eclass b/eclass/mailer.eclass index 5cde3dfa8fa9..b4615baee5fd 100644 --- a/eclass/mailer.eclass +++ b/eclass/mailer.eclass @@ -1,9 +1,10 @@ # 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.4 2005/04/25 18:55:56 slarti Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mailer.eclass,v 1.5 2005/04/25 20:11:27 ferdy Exp $ # -# Original Author: Fernando J. Pereda <ferdy@gentoo.org> +# Original Authors: Fernando J. Pereda <ferdy@gentoo.org> +# Tom Martin <slarti@gentoo.org> # Purpose: eclass to intarface with net-mail/mailer-config, used to manage # multiple MTA's installed on a Gentoo system. # @@ -67,10 +68,7 @@ mailer_wipe_confs() { [[ ${i} == ${P} ]] && continue [[ ${i} == "default" ]] && continue - - if ! has_version '=mail-mta/${i}*' ; then - rm ${x} - fi + has_version "=mail-mta/${i}*" || rm ${x} done eend 0 } |