src_prepare-overlay/profiles/local/linux/amd64/17.1/profile.bashrc
Xenhat Hex deeebe54c7
profiles: add linux/amd64/17.1/desktop/elogind
This is provided as a fix for the default desktop profile on Gentoo, which uses consolekit instead of elogind.
This should avoid a lot of flag shuffling to get a modern setup without consolekit and no forced desktop environment
while using OpenRC
2020-04-10 21:22:01 -04:00

10 lines
390 B
Plaintext

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 "2019-06-05-amd64-17-1-profiles-are-now-stable"
eerror "or choose the 17.0 profile."
die "ERROR: 17.1 migration has not been performed!!"
fi
fi