summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-06-11 04:48:48 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-06-11 04:48:48 +0000
commitfca91f944c2f41166c571c12a7d280a6f0b8d3fc (patch)
tree97c2f966be411ca60b65496d0ab148e9d8fc95d5
parentkeyworded ~x86, bug 151432 (diff)
downloadgentoo-2-fca91f944c2f41166c571c12a7d280a6f0b8d3fc.tar.gz
gentoo-2-fca91f944c2f41166c571c12a7d280a6f0b8d3fc.tar.bz2
gentoo-2-fca91f944c2f41166c571c12a7d280a6f0b8d3fc.zip
improved documentation
-rw-r--r--eclass/savedconfig.eclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/savedconfig.eclass b/eclass/savedconfig.eclass
index c2dd91cbb087..c11f42de3317 100644
--- a/eclass/savedconfig.eclass
+++ b/eclass/savedconfig.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.5 2007/04/23 19:35:05 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/savedconfig.eclass,v 1.6 2007/06/11 04:48:48 dragonheart Exp $
# Original Author: Daniel Black <dragonheart@gentoo.org>
#
@@ -44,6 +44,14 @@ save_config() {
treecopy $* "${D}/${PORTAGE_CONFIGROOT}"/etc/portage/savedconfig/${CATEGORY}/${PF} \
|| die "Failed to save $1"
esac
+ elog "Your configuration for ${CATEGORY}/${PF} has been saved in "
+ elog "/etc/portage/savedconfig/${CATEGORY}/${PF} for your editing pleasure."
+ elog "You can edit these files by hand and remerge this package with"
+ elog "USE=savedconfig to customise the configuration."
+ elog "You can rename this file/directory to one of the following for"
+ elog "its configuration to apply to multiple versions:"
+ elog '${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/'
+ elog '[${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]'
}