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
commitd960b588fb8c7a326f055f6cfe5e87254b818462 (patch)
treeb16b090c92bc9984600bdf9d4cd59f94772bc8f6 /eclass/savedconfig.eclass
parentkeyworded ~x86, bug 151432 (diff)
downloadhistorical-d960b588fb8c7a326f055f6cfe5e87254b818462.tar.gz
historical-d960b588fb8c7a326f055f6cfe5e87254b818462.tar.bz2
historical-d960b588fb8c7a326f055f6cfe5e87254b818462.zip
improved documentation
Diffstat (limited to 'eclass/savedconfig.eclass')
-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}]'
}