commit:     7b8d802623b9d4960499caedbb7c28b186b26ce4
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 13 00:22:54 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Feb 13 21:07:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b8d8026

sys-process/runit: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 sys-process/runit/runit-2.1.2-r1.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-process/runit/runit-2.1.2-r1.ebuild 
b/sys-process/runit/runit-2.1.2-r1.ebuild
index a920443a3f97..607ed990d6e5 100644
--- a/sys-process/runit/runit-2.1.2-r1.ebuild
+++ b/sys-process/runit/runit-2.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -67,12 +67,10 @@ dodir /etc/runit
        done
 
        # make sv command work
-       cat <<-EOF > "${T}"/env.d
+       newenvd - 20runit <<- EOF
                #/etc/env.d/20runit
                SVDIR="/etc/service/"
        EOF
-       insinto /etc/env.d
-       newins "${T}"/env.d 20runit
 }
 
 pkg_preinst() {

Reply via email to