summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2023-08-17 15:31:16 -0400
committerRichard Freeman <rich0@gentoo.org>2023-08-17 15:31:45 -0400
commitb5a5490235041b2de068c374ab7d6db9efe4fefa (patch)
treeee7bd2d8bbebbb9cb38826e59445b1562ecc9966
parentsys-apps/sysvinit: Add postinst message about halt bugfix (diff)
downloadgentoo-b5a5490235041b2de068c374ab7d6db9efe4fefa.tar.gz
gentoo-b5a5490235041b2de068c374ab7d6db9efe4fefa.tar.bz2
gentoo-b5a5490235041b2de068c374ab7d6db9efe4fefa.zip
sys-process/systemd-cron: only check split usr for run-parts
Signed-off-by: Richard Freeman <rich0@gentoo.org>
-rw-r--r--sys-process/systemd-cron/systemd-cron-1.16.7-r1.ebuild6
1 files 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
}