From f73fcfb9352f815d44a0198516ac759caa6e09ec Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Thu, 18 Aug 2022 09:45:05 +0200 Subject: ebuild-writing/variables: Fix example for ROOT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- ebuild-writing/variables/text.xml | 4 ++-- 1 file 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: 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." -- cgit v1.2.3-65-gdbad