diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-08-18 09:45:05 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-08-25 18:41:07 +0200 |
commit | f73fcfb9352f815d44a0198516ac759caa6e09ec (patch) | |
tree | 18bda6255fba43ab6c6b7271455c2a5b1c963ed6 /ebuild-writing/variables/text.xml | |
parent | ebuild-writing/variables: Add section about reserved variables (diff) | |
download | devmanual-f73fcfb9352f815d44a0198516ac759caa6e09ec.tar.gz devmanual-f73fcfb9352f815d44a0198516ac759caa6e09ec.tar.bz2 devmanual-f73fcfb9352f815d44a0198516ac759caa6e09ec.zip |
ebuild-writing/variables: Fix example for ROOT
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'ebuild-writing/variables/text.xml')
-rw-r--r-- | ebuild-writing/variables/text.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml index d77f4b7..03d8752 100644 --- a/ebuild-writing/variables/text.xml +++ b/ebuild-writing/variables/text.xml @@ -225,8 +225,8 @@ old and obsolete configuration file still exists: <codesample lang="ebuild"> pkg_postinst() { - if [[ -e "${ROOT}/etc/oldconfig" ]]; then - ewarn "You still have the obsolete config file " + if [[ -e ${ROOT}/etc/oldconfig ]]; then + ewarn "You still have the obsolete config file" ewarn " ${ROOT}/etc/oldconfig." ewarn "Please migrate your settings to ${ROOT}/etc/newconfig" ewarn "and remove ${ROOT}/etc/oldconfig." |