public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/
Date: Mon,  2 Sep 2019 07:08:44 +0000 (UTC)	[thread overview]
Message-ID: <1567408093.8f9dc630bef434841f8b8a6f9ba6f263a0d1cd70.mattst88@gentoo> (raw)

commit:     8f9dc630bef434841f8b8a6f9ba6f263a0d1cd70
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  2 05:42:22 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Sep  2 07:08:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f9dc630

net-fs/nfs-utils: Don't assume REPLACING_VERSIONS is singular

Closes: https://bugs.gentoo.org/589488
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 net-fs/nfs-utils/nfs-utils-2.3.3.ebuild | 14 ++++++++------
 net-fs/nfs-utils/nfs-utils-2.3.4.ebuild | 14 ++++++++------
 net-fs/nfs-utils/nfs-utils-2.4.1.ebuild | 14 ++++++++------
 3 files changed, 24 insertions(+), 18 deletions(-)

diff --git a/net-fs/nfs-utils/nfs-utils-2.3.3.ebuild b/net-fs/nfs-utils/nfs-utils-2.3.3.ebuild
index b98297ce0b0..77465d97e58 100644
--- a/net-fs/nfs-utils/nfs-utils-2.3.3.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-2.3.3.ebuild
@@ -179,12 +179,14 @@ pkg_postinst() {
 	done
 
 	if systemd_is_booted; then
-		if [[ ${REPLACING_VERSIONS} < 1.3.0 ]]; then
-			ewarn "We have switched to upstream systemd unit files. Since"
-			ewarn "they got renamed, you should probably enable the new ones."
-			ewarn "You can run 'equery files nfs-utils | grep systemd'"
-			ewarn "to know what services you need to enable now."
-		fi
+		for v in ${REPLACING_VERSIONS}; do
+			if ver_test "${v}" -lt 1.3.0; then
+				ewarn "We have switched to upstream systemd unit files. Since"
+				ewarn "they got renamed, you should probably enable the new ones."
+				ewarn "You can run 'equery files nfs-utils | grep systemd'"
+				ewarn "to know what services you need to enable now."
+			fi
+		done
 	else
 		ewarn "If you use OpenRC, the nfsmount service has been replaced with nfsclient."
 		ewarn "If you were using nfsmount, please add nfsclient and netmount to the"

diff --git a/net-fs/nfs-utils/nfs-utils-2.3.4.ebuild b/net-fs/nfs-utils/nfs-utils-2.3.4.ebuild
index dafe5f83ce3..975b78c549b 100644
--- a/net-fs/nfs-utils/nfs-utils-2.3.4.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-2.3.4.ebuild
@@ -176,12 +176,14 @@ pkg_postinst() {
 	done
 
 	if systemd_is_booted; then
-		if [[ ${REPLACING_VERSIONS} < 1.3.0 ]]; then
-			ewarn "We have switched to upstream systemd unit files. Since"
-			ewarn "they got renamed, you should probably enable the new ones."
-			ewarn "You can run 'equery files nfs-utils | grep systemd'"
-			ewarn "to know what services you need to enable now."
-		fi
+		for v in ${REPLACING_VERSIONS}; do
+			if ver_test "${v}" -lt 1.3.0; then
+				ewarn "We have switched to upstream systemd unit files. Since"
+				ewarn "they got renamed, you should probably enable the new ones."
+				ewarn "You can run 'equery files nfs-utils | grep systemd'"
+				ewarn "to know what services you need to enable now."
+			fi
+		done
 	else
 		ewarn "If you use OpenRC, the nfsmount service has been replaced with nfsclient."
 		ewarn "If you were using nfsmount, please add nfsclient and netmount to the"

diff --git a/net-fs/nfs-utils/nfs-utils-2.4.1.ebuild b/net-fs/nfs-utils/nfs-utils-2.4.1.ebuild
index aff15752fd0..0fcea1be6f2 100644
--- a/net-fs/nfs-utils/nfs-utils-2.4.1.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-2.4.1.ebuild
@@ -187,12 +187,14 @@ pkg_postinst() {
 	done
 
 	if systemd_is_booted; then
-		if [[ ${REPLACING_VERSIONS} < 1.3.0 ]]; then
-			ewarn "We have switched to upstream systemd unit files. Since"
-			ewarn "they got renamed, you should probably enable the new ones."
-			ewarn "You can run 'equery files nfs-utils | grep systemd'"
-			ewarn "to know what services you need to enable now."
-		fi
+		for v in ${REPLACING_VERSIONS}; do
+			if ver_test "${v}" -lt 1.3.0; then
+				ewarn "We have switched to upstream systemd unit files. Since"
+				ewarn "they got renamed, you should probably enable the new ones."
+				ewarn "You can run 'equery files nfs-utils | grep systemd'"
+				ewarn "to know what services you need to enable now."
+			fi
+		done
 	else
 		ewarn "If you use OpenRC, the nfsmount service has been replaced with nfsclient."
 		ewarn "If you were using nfsmount, please add nfsclient and netmount to the"


             reply	other threads:[~2019-09-02  7:08 UTC|newest]

Thread overview: 197+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-02  7:08 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-03 21:11 [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/ Andreas Sturmlechner
2024-11-02  7:52 Sam James
2024-10-18 16:12 Arthur Zamarin
2024-10-17  7:24 Sam James
2024-10-17  7:19 Sam James
2024-10-17  7:12 Sam James
2024-10-17  7:10 Sam James
2024-08-30 16:36 Sam James
2024-08-29  2:10 Sam James
2024-08-06 15:42 James Le Cuirot
2024-02-26 10:36 David Seifert
2024-02-24 14:01 Sam James
2024-02-24 14:01 Sam James
2024-02-24  7:08 Sam James
2024-02-20 23:38 Sam James
2024-02-20 23:38 Sam James
2024-02-20 23:38 Sam James
2024-02-20 14:06 Jakov Smolić
2024-02-20 14:06 Jakov Smolić
2024-02-20  9:49 David Seifert
2024-02-14 16:48 Sam James
2024-01-25 13:26 David Seifert
2024-01-25 11:08 David Seifert
2024-01-23 14:45 David Seifert
2024-01-18  0:28 Sam James
2024-01-17  6:34 Sam James
2024-01-17  6:30 Arthur Zamarin
2024-01-17  5:50 Sam James
2024-01-17  5:50 Sam James
2023-11-30  3:49 Sam James
2023-08-20 16:32 James Le Cuirot
2023-06-25 17:40 Arthur Zamarin
2023-06-25 17:40 Arthur Zamarin
2023-06-06 21:07 Sam James
2023-06-01  3:34 Sam James
2023-06-01  3:34 Sam James
2023-06-01  3:34 Sam James
2023-06-01  3:32 Sam James
2023-06-01  3:29 Sam James
2023-06-01  3:29 Sam James
2023-04-20  5:01 Sam James
2022-11-25  9:45 Arthur Zamarin
2022-11-25  7:54 Sam James
2022-11-25  6:39 Arthur Zamarin
2022-11-25  5:15 Sam James
2022-11-25  5:15 Sam James
2022-11-25  5:15 Sam James
2022-11-25  5:07 Sam James
2022-11-25  5:06 Sam James
2022-10-20  3:50 Sam James
2022-09-23  2:14 Sam James
2022-08-28  6:30 WANG Xuerui
2022-08-12 18:16 Sam James
2022-08-10  4:48 Sam James
2022-05-07 18:19 Arthur Zamarin
2022-05-07 18:19 Arthur Zamarin
2022-05-07 18:19 Arthur Zamarin
2022-05-07 18:19 Arthur Zamarin
2022-05-07 18:08 Arthur Zamarin
2022-05-07 18:05 Arthur Zamarin
2022-05-07 17:45 Jakov Smolić
2022-05-07 17:45 Jakov Smolić
2022-03-27  6:00 Matt Turner
2022-03-27  3:26 Matt Turner
2022-03-08  9:43 David Seifert
2021-11-30 10:45 David Seifert
2021-11-28  1:33 Mike Gilbert
2021-10-14  7:03 Sam James
2021-10-14  7:03 Sam James
2021-10-03 21:57 David Seifert
2021-10-03 21:57 David Seifert
2021-09-23  1:07 Matt Turner
2021-09-13 20:30 David Seifert
2021-08-15 19:46 Sam James
2021-08-11 23:10 Sam James
2021-08-11  0:24 Sam James
2021-08-11  0:12 Sam James
2021-08-11  0:02 Sam James
2021-08-10 15:36 Agostino Sarubbo
2021-06-17 23:20 Thomas Deutschmann
2021-05-13 13:55 David Seifert
2021-04-09 22:20 Sam James
2021-04-07 22:45 Sam James
2021-04-07 22:44 Sam James
2021-04-06 19:53 Sam James
2021-04-06 19:53 Sam James
2021-04-06 15:42 Sergei Trofimovich
2021-04-05 19:01 Thomas Deutschmann
2021-03-26 22:34 David Seifert
2021-02-21 17:51 Lars Wendler
2020-12-13 23:23 Sam James
2020-09-07  2:13 Sam James
2020-08-29 17:57 Thomas Deutschmann
2020-08-25 17:48 Sergei Trofimovich
2020-08-24 17:33 Sergei Trofimovich
2020-08-23  6:52 Sam James
2020-08-22  5:43 Agostino Sarubbo
2020-08-21 18:20 Agostino Sarubbo
2020-08-01  7:55 Sergei Trofimovich
2020-07-17  7:21 Agostino Sarubbo
2020-07-08 19:46 Sam James
2020-07-07  6:58 Sergei Trofimovich
2020-07-06  7:22 Sergei Trofimovich
2020-07-06  7:02 Sergei Trofimovich
2020-07-04 21:55 Mart Raudsepp
2020-06-23  7:46 Lars Wendler
2020-06-23  7:46 Lars Wendler
2020-02-11 10:30 Lars Wendler
2019-11-20 12:55 Thomas Deutschmann
2019-11-20 12:55 Thomas Deutschmann
2019-11-20 12:55 Thomas Deutschmann
2019-09-28 14:53 Thomas Deutschmann
2019-09-21  5:20 Matt Turner
2019-09-20  6:39 Sergei Trofimovich
2019-09-13 12:04 Agostino Sarubbo
2019-09-09  6:02 Agostino Sarubbo
2019-09-09  5:54 Agostino Sarubbo
2019-09-09  3:59 Matt Turner
2019-09-08 22:29 Aaron Bauman
2019-09-08 18:30 Sergei Trofimovich
2019-09-08 18:26 Sergei Trofimovich
2019-09-08 10:22 Agostino Sarubbo
2019-09-08  1:13 Thomas Deutschmann
2019-09-02  7:08 Matt Turner
2019-09-02  7:08 Matt Turner
2019-09-02  7:08 Matt Turner
2019-06-11 11:12 Lars Wendler
2019-05-13  8:06 Lars Wendler
2019-05-12 10:20 Lars Wendler
2019-01-18  8:10 Mikle Kolyada
2019-01-18  8:10 Mikle Kolyada
2019-01-16 21:37 Mart Raudsepp
2018-12-30 19:15 Matt Turner
2018-12-02 17:55 Mikle Kolyada
2018-12-01 14:51 Sergei Trofimovich
2018-11-28 12:15 Tobias Klausmann
2018-11-18  9:24 Mikle Kolyada
2018-11-05  7:51 Sergei Trofimovich
2018-11-05  7:51 Sergei Trofimovich
2018-11-05  7:23 Sergei Trofimovich
2018-11-04 19:14 Thomas Deutschmann
2018-11-04  7:31 Mikle Kolyada
2018-09-10 13:11 Lars Wendler
2018-07-15 22:00 Mikle Kolyada
2018-07-15 22:00 Mikle Kolyada
2018-06-03 17:16 Mikle Kolyada
2018-05-28 21:48 Mike Gilbert
2018-05-28 10:35 Lars Wendler
2018-03-28 20:53 Mart Raudsepp
2018-03-17 15:42 Thomas Deutschmann
2018-03-15 15:52 Mikle Kolyada
2018-03-11  6:08 Matt Turner
2018-03-02 15:59 Tobias Klausmann
2018-02-28 22:18 Sergei Trofimovich
2018-02-25 10:35 Sergei Trofimovich
2018-02-19  7:50 Jason Zaman
2018-02-18 21:48 Thomas Deutschmann
2018-02-18 19:48 Sergei Trofimovich
2018-02-15 13:26 Lars Wendler
2018-02-15 13:26 Lars Wendler
2018-01-10  4:28 Mike Frysinger
2017-12-28 15:57 Lars Wendler
2017-12-20 20:37 Lars Wendler
2017-11-25 15:08 Thomas Deutschmann
2017-11-12 21:08 Justin Lecher
2017-11-09  9:51 Lars Wendler
2017-11-07 12:11 Lars Wendler
2017-11-07 10:00 Lars Wendler
2017-11-07  8:48 Lars Wendler
2017-11-07  8:48 Lars Wendler
2017-10-10  0:07 Thomas Deutschmann
2017-09-11  9:03 Jeroen Roovers
2017-08-15 14:02 Lars Wendler
2017-08-15 14:02 Lars Wendler
2017-06-18 23:22 Lars Wendler
2017-06-14 21:32 Lars Wendler
2017-06-08 20:12 Lars Wendler
2017-05-16  8:34 Lars Wendler
2017-05-16  7:48 Lars Wendler
2017-05-15 13:15 Lars Wendler
2017-05-11  8:45 Lars Wendler
2017-05-11  8:39 Lars Wendler
2017-04-15  8:59 Jeroen Roovers
2017-03-30  2:39 Matt Turner
2017-03-30  2:39 Matt Turner
2017-03-15  5:44 Jeroen Roovers
2017-03-07 10:03 Michael Weber
2017-03-03 19:06 Markus Meier
2017-02-20  7:53 Lars Wendler
2017-02-15 13:49 Tobias Klausmann
2017-02-11 11:40 Lars Wendler
2016-12-19  8:44 Lars Wendler
2016-08-07 19:15 Lars Wendler
2016-01-22  8:56 Michael Palimaka
2015-11-03 15:08 Mike Frysinger
2015-10-21 10:05 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1567408093.8f9dc630bef434841f8b8a6f9ba6f263a0d1cd70.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox