From f1af93971b7490792d8541bc790e0d8c6d787059 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2019 10:28:05 +0100 Subject: gentoo resync : 06.08.2019 --- net-fs/nfs-utils/nfs-utils-2.3.4.ebuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'net-fs/nfs-utils/nfs-utils-2.3.4.ebuild') 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 dafe5f83ce34..975b78c549b1 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" -- cgit v1.2.3