1 |
commit: 74296c306cad179bacb3caaf7958fb817d1eced3 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 3 13:59:45 2021 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 3 14:04:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74296c30 |
7 |
|
8 |
sys-apps/tuned: fix wrong python shebang error |
9 |
|
10 |
thanks Ionen Wolkens for reporting |
11 |
|
12 |
Closes: https://bugs.gentoo.org/768411 |
13 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
14 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
15 |
|
16 |
sys-apps/tuned/{tuned-2.15.0.ebuild => tuned-2.15.0-r1.ebuild} | 2 +- |
17 |
1 file changed, 1 insertion(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/sys-apps/tuned/tuned-2.15.0.ebuild b/sys-apps/tuned/tuned-2.15.0-r1.ebuild |
20 |
similarity index 95% |
21 |
rename from sys-apps/tuned/tuned-2.15.0.ebuild |
22 |
rename to sys-apps/tuned/tuned-2.15.0-r1.ebuild |
23 |
index 371dfed0725..e39575c6a99 100644 |
24 |
--- a/sys-apps/tuned/tuned-2.15.0.ebuild |
25 |
+++ b/sys-apps/tuned/tuned-2.15.0-r1.ebuild |
26 |
@@ -41,7 +41,7 @@ src_prepare() { |
27 |
default |
28 |
|
29 |
sed -i \ |
30 |
- -e "/^PYTHON/s:/usr/bin/python3:${EPYTHON}:" \ |
31 |
+ -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" \ |
32 |
-e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \ |
33 |
-e "/\$(DESTDIR)\/run\/tuned/d" \ |
34 |
-e "/\$(DESTDIR)\/var\/lib\/tuned/d" \ |