summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-03 15:40:18 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-03-03 15:40:18 +0100
commit6d67d9ebd6fe9d7ef6c962d27349d23631f5fb0b (patch)
tree3ac1de0633882254446d220c05c4a3cb0cf1523b
parentmedia-libs/libdisplay-info: Correct description (diff)
downloadgentoo-6d67d9ebd6fe9d7ef6c962d27349d23631f5fb0b.tar.gz
gentoo-6d67d9ebd6fe9d7ef6c962d27349d23631f5fb0b.tar.bz2
gentoo-6d67d9ebd6fe9d7ef6c962d27349d23631f5fb0b.zip
profiles: 23.0: improve safety rail condition split vs merged
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--profiles/releases/23.0/profile.bashrc2
1 files changed, 1 insertions, 1 deletions
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"