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:
parent
46d48ef3f7
commit
641c536fe4
|
@ -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/' \
|
Loading…
Reference in New Issue