From a7e46cf410679edc1d2ebbed70a90456bd8f3547 Mon Sep 17 00:00:00 2001 From: Giuseppe Foti Date: Thu, 14 Mar 2024 23:08:06 +0100 Subject: [PATCH] app-admin/logcheck: fix typo in files/logcheck-r3.cron Closes: https://bugs.gentoo.org/926764 Signed-off-by: Giuseppe Foti Closes: https://github.com/gentoo/gentoo/pull/35760 Signed-off-by: Sam James --- app-admin/logcheck/files/{logcheck-r3.cron => logcheck-r4.cron} | 2 +- .../{logcheck-1.4.3-r3.ebuild => logcheck-1.4.3-r4.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app-admin/logcheck/files/{logcheck-r3.cron => logcheck-r4.cron} (82%) rename app-admin/logcheck/{logcheck-1.4.3-r3.ebuild => logcheck-1.4.3-r4.ebuild} (98%) diff --git a/app-admin/logcheck/files/logcheck-r3.cron b/app-admin/logcheck/files/logcheck-r4.cron similarity index 82% rename from app-admin/logcheck/files/logcheck-r3.cron rename to app-admin/logcheck/files/logcheck-r4.cron index 2ae64f7678719..1a8809ffe1545 100644 --- a/app-admin/logcheck/files/logcheck-r3.cron +++ b/app-admin/logcheck/files/logcheck-r4.cron @@ -8,4 +8,4 @@ if [ ! -d /var/lock/logcheck ]; then mkdir -p /var/lock/logcheck chown logcheck:logcheck /var/lock/logcheck fi -/sbin/runuser -u logcheck --nice -n10 /usr/sbin/logcheck "$@" +/sbin/runuser -u logcheck -- nice -n10 /usr/sbin/logcheck "$@" diff --git a/app-admin/logcheck/logcheck-1.4.3-r3.ebuild b/app-admin/logcheck/logcheck-1.4.3-r4.ebuild similarity index 98% rename from app-admin/logcheck/logcheck-1.4.3-r3.ebuild rename to app-admin/logcheck/logcheck-1.4.3-r4.ebuild index 7e6a9a120e1c3..0cd2197b813f6 100644 --- a/app-admin/logcheck/logcheck-1.4.3-r3.ebuild +++ b/app-admin/logcheck/logcheck-1.4.3-r4.ebuild @@ -67,7 +67,7 @@ src_install() { if use cron; then exeinto /etc/cron.hourly - newexe "${FILESDIR}"/"${PN}"-r3.cron ${PN} + newexe "${FILESDIR}"/"${PN}"-r4.cron ${PN} insinto /etc/cron.d newins "${FILESDIR}"/${PN}.cron.d ${PN} DOC_CONTENTS="${DOC_CONTENTS}\n