commit:     3fe8932064015c6f559f0614e8321074c8e06f32
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 14 14:35:40 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jan 14 14:37:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fe89320

sys-apps/tuned: fix python shebang error

Closes: https://bugs.gentoo.org/765391
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-apps/tuned/tuned-2.15.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/tuned/tuned-2.15.0.ebuild 
b/sys-apps/tuned/tuned-2.15.0.ebuild
index 9c35900cbdd..58b76e9dde2 100644
--- a/sys-apps/tuned/tuned-2.15.0.ebuild
+++ b/sys-apps/tuned/tuned-2.15.0.ebuild
@@ -41,6 +41,7 @@ src_prepare() {
        default
 
        sed -i \
+               -e "/^PYTHON/s:/usr/bin/python3:${EPYTHON}:" \
                -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
                -e "/\$(DESTDIR)\/run\/tuned/d" \
                -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \

Reply via email to