commit:     e89d45212dbf6a8656d22a0c687fc0c5ee5e4418
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 20 07:30:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 20 07:30:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89d4521

sys-process/fcron: fix unrecognised commands

Closes: https://bugs.gentoo.org/818970
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/fcron/{fcron-3.2.1-r6.ebuild => fcron-3.2.1-r7.ebuild}    | 4 ++--
 .../fcron/{fcron-3.3.0_beta-r3.ebuild => fcron-3.3.0_beta-r4.ebuild}  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-process/fcron/fcron-3.2.1-r6.ebuild 
b/sys-process/fcron/fcron-3.2.1-r7.ebuild
similarity index 98%
rename from sys-process/fcron/fcron-3.2.1-r6.ebuild
rename to sys-process/fcron/fcron-3.2.1-r7.ebuild
index eee51e1d3c3..0d71756ff30 100644
--- a/sys-process/fcron/fcron-3.2.1-r6.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r7.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 WANT_AUTOMAKE="none"
 
-inherit autotools cron flag-o-matic pam systemd
+inherit autotools cron flag-o-matic pam systemd user-info
 
 DESCRIPTION="A command scheduler with extended capabilities over cron and 
anacron"
 HOMEPAGE="http://fcron.free.fr/";
@@ -206,7 +206,7 @@ pkg_postinst() {
        else
                local v
                for v in ${REPLACING_VERSIONS}; do
-                       if ! version_is_at_least "3.2.1" ${v}; then
+                       if ver_test "3.2.1" -le ${v}; then
                                # This is an upgrade
 
                                elog "fcron's default systab was updated since 
your last installation."

diff --git a/sys-process/fcron/fcron-3.3.0_beta-r3.ebuild 
b/sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
similarity index 98%
rename from sys-process/fcron/fcron-3.3.0_beta-r3.ebuild
rename to sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
index 7af1483a4c8..857880e1ae4 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r3.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 WANT_AUTOMAKE="none"
 
-inherit autotools cron flag-o-matic pam systemd
+inherit autotools cron flag-o-matic pam systemd user-info
 
 MY_PV="${PV/_beta/}"
 MY_P="${PN}-${MY_PV}"
@@ -210,7 +210,7 @@ pkg_postinst() {
        else
                local v
                for v in ${REPLACING_VERSIONS}; do
-                       if ! version_is_at_least "3.2.1" ${v}; then
+                       if ver_test "3.2.1" -le ${v}; then
                                # This is an upgrade
 
                                elog "fcron's default systab was updated since 
your last installation."

Reply via email to