sys-process/systemd-cron: Require split-usr in deps and no longer die.

Closes: https://bugs.gentoo.org/928893
Signed-off-by: Richard Freeman <rich0@gentoo.org>
This commit is contained in:
Richard Freeman 2024-04-16 11:14:12 -04:00
parent 46d48ef3f7
commit 641c536fe4
No known key found for this signature in database
GPG Key ID: 4FBC5C883798FE58
1 changed files with 1 additions and 9 deletions

View File

@ -23,7 +23,7 @@ RDEPEND="
acct-group/_cron-failure
app-crypt/libmd:=
sys-process/cronbase
>=sys-apps/systemd-253
>=sys-apps/systemd-255[-split-usr(-)]
!etc-crontab-systemd? ( !sys-process/dcron )
runparts? ( sys-apps/debianutils )
"
@ -32,14 +32,6 @@ DEPEND="
sys-process/cronbase
"
pkg_pretend() {
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-cron no longer supports split-usr"
fi
}
src_prepare() {
sed -i \
-e 's/^crontab/crontab-systemd/' \