Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/variables/
Date: Thu, 25 Aug 2022 16:42:42
Message-Id: 1661445667.f73fcfb9352f815d44a0198516ac759caa6e09ec.ulm@gentoo
1 commit: f73fcfb9352f815d44a0198516ac759caa6e09ec
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 07:45:05 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 25 16:41:07 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=f73fcfb9
7
8 ebuild-writing/variables: Fix example for ROOT
9
10 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
11
12 ebuild-writing/variables/text.xml | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml
16 index d77f4b7..03d8752 100644
17 --- a/ebuild-writing/variables/text.xml
18 +++ b/ebuild-writing/variables/text.xml
19 @@ -225,8 +225,8 @@ old and obsolete configuration file still exists:
20
21 <codesample lang="ebuild">
22 pkg_postinst() {
23 - if [[ -e "${ROOT}/etc/oldconfig" ]]; then
24 - ewarn "You still have the obsolete config file "
25 + if [[ -e ${ROOT}/etc/oldconfig ]]; then
26 + ewarn "You still have the obsolete config file"
27 ewarn " ${ROOT}/etc/oldconfig."
28 ewarn "Please migrate your settings to ${ROOT}/etc/newconfig"
29 ewarn "and remove ${ROOT}/etc/oldconfig."