dev-lang/python-exec: Use newins with stdin input

This commit is contained in:
Michał Górny
2018-08-15 10:50:14 +02:00
parent e47f13d79c
commit 3bc189a622
2 changed files with 4 additions and 6 deletions

View File

@@ -48,10 +48,9 @@ src_install() {
default
# Prepare and own the template
sed -n -e '/^#/p' config/python-exec.conf.example \
> "${T}"/python-exec.conf || die
insinto /etc/python-exec
doins "${T}"/python-exec.conf
newins - python-exec.conf \
< <(sed -n -e '/^#/p' config/python-exec.conf.example)
local f
for f in python{,2,3}; do

View File

@@ -54,10 +54,9 @@ src_install() {
default
# Prepare and own the template
sed -n -e '/^#/p' config/python-exec.conf.example \
> "${T}"/python-exec.conf || die
insinto /etc/python-exec
doins "${T}"/python-exec.conf
newins - python-exec.conf \
< <(sed -n -e '/^#/p' config/python-exec.conf.example)
local f
for f in python{,2,3}; do