commit:     7a51d63c9b998e4aa55465bd094d989ef6681f1d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 20 10:33:21 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 20 10:33:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a51d63c

sys-process/fcron: fix ver_test operator

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

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

diff --git a/sys-process/fcron/fcron-3.2.1-r7.ebuild 
b/sys-process/fcron/fcron-3.2.1-r8.ebuild
similarity index 99%
rename from sys-process/fcron/fcron-3.2.1-r7.ebuild
rename to sys-process/fcron/fcron-3.2.1-r8.ebuild
index 0d71756ff30..a9f01c0b081 100644
--- a/sys-process/fcron/fcron-3.2.1-r7.ebuild
+++ b/sys-process/fcron/fcron-3.2.1-r8.ebuild
@@ -206,7 +206,7 @@ pkg_postinst() {
        else
                local v
                for v in ${REPLACING_VERSIONS}; do
-                       if ver_test "3.2.1" -le ${v}; then
+                       if ver_test "3.2.1" -gt ${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-r4.ebuild 
b/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
similarity index 99%
rename from sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
rename to sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
index 857880e1ae4..07a27b00a82 100644
--- a/sys-process/fcron/fcron-3.3.0_beta-r4.ebuild
+++ b/sys-process/fcron/fcron-3.3.0_beta-r5.ebuild
@@ -210,7 +210,7 @@ pkg_postinst() {
        else
                local v
                for v in ${REPLACING_VERSIONS}; do
-                       if ver_test "3.2.1" -le ${v}; then
+                       if ver_test "3.2.1" -gt ${v}; then
                                # This is an upgrade
 
                                elog "fcron's default systab was updated since 
your last installation."

Reply via email to