projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc35d7
)
sys-apps/baselayout: live ebuild: add warning about path change
author
William Hubbs
<williamh@gentoo.org>
Mon, 19 Mar 2018 18:45:38 +0000
(13:45 -0500)
committer
William Hubbs
<williamh@gentoo.org>
Mon, 19 Mar 2018 18:46:07 +0000
(13:46 -0500)
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sys-apps/baselayout/baselayout-9999.ebuild
patch
|
blob
|
history
diff --git
a/sys-apps/baselayout/baselayout-9999.ebuild
b/sys-apps/baselayout/baselayout-9999.ebuild
index 20a7143a7421b01f6f90dd21012983ec2e9bca44..6bd0c0d4f7076db169449e36179e74f6ee017c62 100644
(file)
--- a/
sys-apps/baselayout/baselayout-9999.ebuild
+++ b/
sys-apps/baselayout/baselayout-9999.ebuild
@@
-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