From 6d67d9ebd6fe9d7ef6c962d27349d23631f5fb0b Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sun, 3 Mar 2024 15:40:18 +0100 Subject: profiles: 23.0: improve safety rail condition split vs merged MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas K. Hüttel --- profiles/releases/23.0/profile.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profiles/releases') 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" -- cgit v1.2.3-65-gdbad