net-fs/nfs-utils: Remove obsolete sed transformations of systemd units
authorChris Mayo <aklhfex@gmail.com>
Sun, 11 Jun 2017 18:37:05 +0000 (19:37 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Sun, 18 Jun 2017 23:22:09 +0000 (01:22 +0200)
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

index 8ed226bc43c8c88a23364d94312463ace543cfab..4858d85705fdff011399e8a0699eb7dba9a155e4 100644 (file)
@@ -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