summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2021-01-14 22:35:40 +0800
committerYixun Lan <dlan@gentoo.org>2021-01-14 22:37:05 +0800
commit3fe8932064015c6f559f0614e8321074c8e06f32 (patch)
tree942e16efbab49749f58c7e06ceff283d65b15b9a /sys-apps
parentgames-action/clanbomber: cleanup old (diff)
downloadgentoo-3fe8932064015c6f559f0614e8321074c8e06f32.tar.gz
gentoo-3fe8932064015c6f559f0614e8321074c8e06f32.tar.bz2
gentoo-3fe8932064015c6f559f0614e8321074c8e06f32.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/tuned/tuned-2.15.0.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/tuned/tuned-2.15.0.ebuild b/sys-apps/tuned/tuned-2.15.0.ebuild
index 9c35900cbdd9..58b76e9dde2c 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" \