summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-07-30 15:20:12 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-07-30 15:28:49 -0400
commit04c08db77622e753d16eb40614fec83161115978 (patch)
treea17e2c70753488460ab83936b1bd8585eb1efc94 /app-eselect
parentdev-python/botocore: Reenable tests broken by urllib3 < 2.0.4 (diff)
downloadgentoo-04c08db77622e753d16eb40614fec83161115978.tar.gz
gentoo-04c08db77622e753d16eb40614fec83161115978.tar.bz2
gentoo-04c08db77622e753d16eb40614fec83161115978.zip
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@gentoo.org>
Diffstat (limited to 'app-eselect')
-rw-r--r--app-eselect/eselect-wine/eselect-wine-2.0.2-r1.ebuild12
1 files 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
}