From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B9B21582EF for ; Sat, 15 Feb 2025 15:53:08 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 8663C343103 for ; Sat, 15 Feb 2025 15:53:08 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 48112110474; Sat, 15 Feb 2025 15:53:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 40CBA110474 for ; Sat, 15 Feb 2025 15:53:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EEE34342F65 for ; Sat, 15 Feb 2025 15:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5015C2715 for ; Sat, 15 Feb 2025 15:52:58 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1739634691.18d234f5b2c6c6b3e1e75dc7e74c4752d3301075.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/fcron/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/fcron/fcron-3.3.3.ebuild X-VCS-Directories: sys-process/fcron/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 18d234f5b2c6c6b3e1e75dc7e74c4752d3301075 X-VCS-Branch: master Date: Sat, 15 Feb 2025 15:52:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d1ccaee4-fbad-4323-b11d-9652ea23fd43 X-Archives-Hash: f3b831998adc01bde1584e692192d47a commit: 18d234f5b2c6c6b3e1e75dc7e74c4752d3301075 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:12:17 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 15 15:51:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d234f5 sys-process/fcron: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> sys-process/fcron/fcron-3.3.3.ebuild | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/sys-process/fcron/fcron-3.3.3.ebuild b/sys-process/fcron/fcron-3.3.3.ebuild index c9db91dc9ba3..9b4c34d2e31e 100644 --- a/sys-process/fcron/fcron-3.3.3.ebuild +++ b/sys-process/fcron/fcron-3.3.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 WANT_AUTOMAKE="none" -inherit autotools cron flag-o-matic pam systemd user-info +inherit autotools cron eapi9-ver flag-o-matic pam systemd user-info MY_PV="${PV/_beta/}" MY_P="${PN}-${MY_PV}" @@ -192,24 +192,15 @@ pkg_postinst() { elog " # emerge --config ${CATEGORY}/${PN}" elog "" elog "to install the default systab on this system." - else - local v - for v in ${REPLACING_VERSIONS}; do - if ver_test "3.2.1" -gt ${v}; then - # This is an upgrade - - elog "fcron's default systab was updated since your last installation." - elog "You can use" - elog "" - elog " # emerge --config ${CATEGORY}/${PN}" - elog "" - elog "to re-install systab (do not call this command before you" - elog "have merged your configuration files)." - - # Show this elog only once - break - fi - done + elif ver_replacing -lt "3.2.1"; then + # This is an upgrade + elog "fcron's default systab was updated since your last installation." + elog "You can use" + elog "" + elog " # emerge --config ${CATEGORY}/${PN}" + elog "" + elog "to re-install systab (do not call this command before you" + elog "have merged your configuration files)." fi if ! use system-crontab; then