mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-lang/python-exec: Use newins with stdin input
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user