sys-apps/baselayout: live ebuild: add warning about path change

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
William Hubbs
2018-03-19 13:45:38 -05:00
parent 8fc35d791e
commit 4ecb6fb2b5

View File

@@ -245,10 +245,14 @@ pkg_postinst() {
fi
for x in ${REPLACING_VERSIONS}; do
if ! version_is_at_least 2.4 ${v}; then
if ! version_is_at_least 2.4 ${x}; then
ewarn "After updating ${EROOT}etc/profile, please run"
ewarn "env-update and . /etc/profile"
break
ewarn "env-update && . /etc/profile"
fi
if ! version_is_at_least 2.5 ${x}; then
ewarn "Please run env-update then log out and back in to"
ewarn "update your path."
fi
done