diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-17 22:49:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-17 22:49:47 +0100 |
commit | 30c53e395853f5bfe805a1e429fcf26666eed8f8 (patch) | |
tree | a0670eaf9babda7b83503f7d36806a944bb49752 /profiles/default/linux/amd64 | |
parent | d302a5d7fc9caafba5c8a404f2891bb6ccdec311 (diff) |
gentoo resync : 17.05.2018
Diffstat (limited to 'profiles/default/linux/amd64')
-rw-r--r-- | profiles/default/linux/amd64/17.1/profile.bashrc | 12 |
1 files 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 44dc51c55408..7019782fb8f9 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 |