commit: 04c08db77622e753d16eb40614fec83161115978
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 30 19:20:12 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jul 30 19:28:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c08db7
app-eselect/eselect-wine: add further note about PATH
Also swap EROOT for EPREFIX given this is settings for use
after using ROOT, and not to be found immediately. Except
maybe the /etc/profile one albeit it'd be a bit weird still.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
app-eselect/eselect-wine/eselect-wine-2.0.2-r1.ebuild | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/app-eselect/eselect-wine/eselect-wine-2.0.2-r1.ebuild
b/app-eselect/eselect-wine/eselect-wine-2.0.2-r1.ebuild
index 1ef98a08e3ec..8abf0116e6e0 100644
--- a/app-eselect/eselect-wine/eselect-wine-2.0.2-r1.ebuild
+++ b/app-eselect/eselect-wine/eselect-wine-2.0.2-r1.ebuild
@@ -72,17 +72,21 @@ pkg_postinst() {
elog
[[ ${REPLACING_VERSIONS} ]] &&
elog "${PN} changed a bit, suggest reviewing 'eselect
wine help' (and list)."
- elog "Please run '. ${EROOT}/etc/profile' to update PATH in
current shells."
- elog "Wine can otherwise be executed directly at
'${EROOT}/etc/eselect/wine/bin/wine'."
+ elog "Please run '. ${EROOT}/etc/profile' to update PATH in
current shells"
+ elog "(PATH should have ':${EPREFIX}/etc/eselect/wine/bin').
Wine can otherwise"
+ elog "be executed directly from
'${EPREFIX}/etc/eselect/wine/bin/wine'."
fi
if [[ ${REPLACING_VERSIONS##* } ]] &&
ver_test ${REPLACING_VERSIONS##* } -lt 2.0.2-r1; then
elog
elog "Be warned that >=${PN}-2.0.2-r1 no longer installs the"
- elog "'${EROOT}/usr/bin/wine' symbolic link. wine(1) can still
be found"
+ elog "'${EPREFIX}/usr/bin/wine' symbolic link. wine(1) can
still be found"
elog "in PATH but, if using the direct location for scripts
and/or binfmt,"
- elog "then please update these to use:
'${EROOT}/etc/eselect/wine/bin/wine'"
+ elog "then please update these to use:
'${EPREFIX}/etc/eselect/wine/bin/wine'"
+ elog
+ elog "If wine is not found in PATH, please ensure that not
overriding the"
+ elog "default PATH value that should include
':${EPREFIX}/etc/eselect/wine/bin'"
fi
}