commit:     01585f91d19a9979e564ecb66bc108bc16da76f6
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 01:22:10 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 01:27:17 2023 +0000
URL:        https://gitweb.gentoo.org/proj/eselect-wine.git/commit/?id=01585f91

wine.eselect: adjust portage PATH comment

Gave this another look given PATH handling changes in >=portage-3.0.44,
and the workaround is "nearly" unnecessary now but still triggers
(at least) on first merge of eselect-wine while PATH has not yet been
updated once yet.

May possibly be other cases where it's noisy, so decided to leave it
alone beside a minor comment update.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 wine.eselect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wine.eselect b/wine.eselect
index 46610ea..e8ce744 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -30,7 +30,7 @@ wine-run() {
 
        # try to warn about about missing PATH, but stay quiet with doas/sudo
        # given may be using a temporary secure PATH (also skip with update
-       # given PATH is not updated when ran from ebuilds in pkg_postinst)
+       # as the PATH may not always be updated in ebuild phases yet)
        [[ ${PATH} == @(|*:)"${EPREFIX}${WINEETC}/bin"*(/)@(|:*) ||
                -v DOAS_USER || -v SUDO_USER || ${1} == wine-update ]] ||
                write_warning_msg "'${EPREFIX}${WINEETC}/bin' missing from 
PATH, may need to run '. ${EROOT}/etc/profile'"

Reply via email to