summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTom Martin <slarti@gentoo.org>2005-08-05 08:26:34 +0000
committerTom Martin <slarti@gentoo.org>2005-08-05 08:26:34 +0000
commitfd2b6612485b4ce2080b78a7c46262b3eaeae5da (patch)
treeaa2eac631a39ef0456b6890171fa161fffb9c3ab /eclass
parentUpdated dependencies (dropped libpng dependency, added imagemagick with image... (diff)
downloadgentoo-2-fd2b6612485b4ce2080b78a7c46262b3eaeae5da.tar.gz
gentoo-2-fd2b6612485b4ce2080b78a7c46262b3eaeae5da.tar.bz2
gentoo-2-fd2b6612485b4ce2080b78a7c46262b3eaeae5da.zip
Minor stylistic change.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mailer.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/mailer.eclass b/eclass/mailer.eclass
index 023361fdad48..009544f4e240 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.14 2005/07/11 15:08:06 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mailer.eclass,v 1.15 2005/08/05 08:26:34 slarti Exp $
#
# Original Authors: Fernando J. Pereda <ferdy@gentoo.org>
@@ -46,7 +46,7 @@ EXPORT_FUNCTIONS pkg_postinst pkg_postrm
# Gets current mailer profile
mailer_get_current() {
- echo $(mailer-config --get-current-profile)
+ mailer-config --get-current-profile
return $?
}
@@ -116,6 +116,6 @@ mailer_pkg_postrm() {
mailer_wipe_confs
# We are removing the current profile, switch back to default
- [[ $(mailer_get_current) == ${P} ]] && mailer_set_profile default
+ [[ $(mailer_get_current) == ${P} ]] && mailer_set_profile default
fi
}