From d960b588fb8c7a326f055f6cfe5e87254b818462 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Mon, 11 Jun 2007 04:48:48 +0000 Subject: improved documentation --- eclass/savedconfig.eclass | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'eclass/savedconfig.eclass') 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 # @@ -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}]' } -- cgit v1.2.3-65-gdbad