commit: 6d67d9ebd6fe9d7ef6c962d27349d23631f5fb0b
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 3 14:40:18 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Mar 3 14:40:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d67d9eb
profiles: 23.0: improve safety rail condition split vs merged
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
profiles/releases/23.0/profile.bashrc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/releases/23.0/profile.bashrc
b/profiles/releases/23.0/profile.bashrc
index 1a09f04d4d3a..6c178b086158 100644
--- a/profiles/releases/23.0/profile.bashrc
+++ b/profiles/releases/23.0/profile.bashrc
@@ -1,4 +1,4 @@
-if [[ "${EBUILD_PHASE}" == "setup" ]] && [[ "${CATEGORY}/${PN}" !=
"sys-apps/baselayout" ]] ; then
+if [[ "${EBUILD_PHASE}" == "setup" ]] && [[ -e "${EROOT%/}/bin" ]] ; then
if [[ ! -h "${EROOT%/}/bin" ]] && [[ "${PROFILE_23_USRTYPE}" !=
"split-usr" ]] ; then
eerror ""
eerror "Your profile is of type merged-usr, but your
directories"