commit:     8a83de6d4d6fdb8f123f29cc8acac6d4ad10a45c
Author:     Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Sun Jun 11 18:37:05 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 23:22:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a83de6d

net-fs/nfs-utils: Remove obsolete sed transformations of systemd units

nfs-config.service and use of EnvironmentFile removed by:
http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=2662e1ba98707014b6167e1e5bd3162d6d8f52af

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4912

 net-fs/nfs-utils/nfs-utils-2.1.2_rc3.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-fs/nfs-utils/nfs-utils-2.1.2_rc3.ebuild 
b/net-fs/nfs-utils/nfs-utils-2.1.2_rc3.ebuild
index 8ed226bc43c..4858d85705f 100644
--- a/net-fs/nfs-utils/nfs-utils-2.1.2_rc3.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-2.1.2_rc3.ebuild
@@ -155,9 +155,7 @@ src_install() {
        if ! use nfsv41 ; then
                rm "${ED}$(systemd_get_unitdir)"/nfs-blkmap.* || die
        fi
-       sed -i -r \
-               -e "/^EnvironmentFile=/s:=.*:=${EPREFIX}/etc/conf.d/nfs:" \
-               -e '/^(After|Wants)=nfs-config.service$/d' \
+       sed -i \
                -e 's:/usr/sbin/rpc.statd:/sbin/rpc.statd:' \
                "${ED}$(systemd_get_unitdir)"/* || die
 

Reply via email to