From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/amd64/17.1/
Date: Wed, 16 May 2018 19:23:56 +0000 (UTC) [thread overview]
Message-ID: <1526498629.6574efff52ced6f4139d31e5e3fa494e3a31e119.grknight@gentoo> (raw)
commit: 6574efff52ced6f4139d31e5e3fa494e3a31e119
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed May 16 19:20:06 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed May 16 19:23:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6574efff
profiles: amd64/17.1/profile.bashrc - Dereference symlink to /lib and /usr/lib
Advanced users may want /lib and/or /usr/lib to point somewhere else
This checks what should not be and warns but still lets those
advanced people do what they like.
profiles/default/linux/amd64/17.1/profile.bashrc | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/profiles/default/linux/amd64/17.1/profile.bashrc b/profiles/default/linux/amd64/17.1/profile.bashrc
index 44dc51c5540..7019782fb8f 100644
--- a/profiles/default/linux/amd64/17.1/profile.bashrc
+++ b/profiles/default/linux/amd64/17.1/profile.bashrc
@@ -1,7 +1,9 @@
-if [[ "${EBUILD_PHASE}" == "setup" ]] && [[ -L ${ROOT%/}/lib || -L ${ROOT%/}/usr/lib ]] ; then
- eerror "Please follow the instructions in the news item:"
- eerror "2017-12-26-experimental-amd64-17-1-profiles"
- eerror "or choose the 17.0 profile."
- die "ERROR: 17.1 migration has not been performed!!"
+if [[ "${EBUILD_PHASE}" == "setup" ]] ; then
+ if [[ "$(realpath ${ROOT%/}/lib)" == "${ROOT%/}/lib64" || "$(realpath ${ROOT%/}/usr/lib)" == "${ROOT%/}/usr/lib64" ]] ; then
+ eerror "Please follow the instructions in the news item:"
+ eerror "2017-12-26-experimental-amd64-17-1-profiles"
+ eerror "or choose the 17.0 profile."
+ die "ERROR: 17.1 migration has not been performed!!"
+ fi
fi
next reply other threads:[~2018-05-16 19:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-16 19:23 Brian Evans [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-06-06 14:02 [gentoo-commits] repo/gentoo:master commit in: profiles/default/linux/amd64/17.1/ Brian Evans
2018-01-18 17:38 Brian Evans
2018-01-18 16:20 Brian Evans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1526498629.6574efff52ced6f4139d31e5e3fa494e3a31e119.grknight@gentoo \
--to=grknight@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox