summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-02-13 01:22:54 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-02-13 22:07:37 +0100
commit7b8d802623b9d4960499caedbb7c28b186b26ce4 (patch)
treedb55123b80be36e8599e9b1849687f78da158287 /sys-process/runit
parentsys-fs/cachefilesd: fix DeprecatedInsinto (diff)
downloadgentoo-7b8d802623b9d4960499caedbb7c28b186b26ce4.tar.gz
gentoo-7b8d802623b9d4960499caedbb7c28b186b26ce4.tar.bz2
gentoo-7b8d802623b9d4960499caedbb7c28b186b26ce4.zip
sys-process/runit: fix DeprecatedInsinto
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'sys-process/runit')
-rw-r--r--sys-process/runit/runit-2.1.2-r1.ebuild6
1 files 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() {