diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-08 03:14:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-08 03:14:47 +0000 |
commit | 15478b615783e9a29c10a1d488af5498e5b3c3d6 (patch) | |
tree | 340463e487b9676fe1d6569f8601a8991019d9e5 /sys-apps/systemd/systemd-251.7.ebuild | |
parent | 6d44cd74809cea5f81bf52ff9cd0aa902d6b6866 (diff) |
gentoo auto-resync : 08:12:2022 - 03:14:47
Diffstat (limited to 'sys-apps/systemd/systemd-251.7.ebuild')
-rw-r--r-- | sys-apps/systemd/systemd-251.7.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys-apps/systemd/systemd-251.7.ebuild b/sys-apps/systemd/systemd-251.7.ebuild index 57967cf1b395..84c6c3db0074 100644 --- a/sys-apps/systemd/systemd-251.7.ebuild +++ b/sys-apps/systemd/systemd-251.7.ebuild @@ -471,16 +471,15 @@ migrate_locale() { pkg_preinst() { if ! use split-usr; then local dir - for dir in bin sbin lib; do - if [[ ! ${EROOT}/${dir} -ef ${EROOT}/usr/${dir} ]]; then - eerror "\"${EROOT}/${dir}\" and \"${EROOT}/usr/${dir}\" are not merged." - eerror "One of them should be a symbolic link to the other one." + for dir in bin sbin lib usr/sbin; do + if [[ ! -L ${EROOT}/${dir} ]]; then + eerror "'${EROOT}/${dir}' is not a symbolic link." FAIL=1 fi done if [[ ${FAIL} ]]; then eerror "Migration to system layout with merged directories must be performed before" - eerror "rebuilding ${CATEGORY}/${PN} with USE=\"-split-usr\" to avoid run-time breakage." + eerror "installing ${CATEGORY}/${PN} with USE=\"-split-usr\" to avoid run-time breakage." die "System layout with split directories still used" fi fi |