commit: b5a5490235041b2de068c374ab7d6db9efe4fefa Author: Richard Freeman <rich0 <AT> gentoo <DOT> org> AuthorDate: Thu Aug 17 19:31:16 2023 +0000 Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org> CommitDate: Thu Aug 17 19:31:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a54902
sys-process/systemd-cron: only check split usr for run-parts Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org> sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild index 9971a8609893..083a40da15b2 100644 --- a/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild +++ b/sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${PV}.tar.gz -> systemd- LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid split-usr test yearly" +IUSE="cron-boot etc-crontab-systemd minutely +runparts setgid test yearly" RESTRICT="!test? ( test )" RDEPEND=">=sys-apps/systemd-217 @@ -30,10 +30,10 @@ DEPEND="sys-process/cronbase REQUIRED_USE="${PYTHON_REQUIRED_USE}" pkg_pretend() { - if use split-usr; then + if use runparts && ! [ -x /usr/bin/run-parts ] ; then eerror "Please complete the migration to merged-usr." eerror "https://wiki.gentoo.org/wiki/Merge-usr" - die "systemd no longer supports split-usr" + die "systemd-cron no longer supports split-usr" fi }
