commit:     a7e46cf410679edc1d2ebbed70a90456bd8f3547
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 22:08:06 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 22:31:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e46cf4

app-admin/logcheck: fix typo in files/logcheck-r3.cron

Closes: https://bugs.gentoo.org/926764
Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35760
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-admin/logcheck/files/{logcheck-r3.cron => logcheck-r4.cron}         | 2 +-
 .../logcheck/{logcheck-1.4.3-r3.ebuild => logcheck-1.4.3-r4.ebuild}     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 2ae64f767871..1a8809ffe154 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 7e6a9a120e1c..0cd2197b813f 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

Reply via email to