1 |
commit: 2dcc92ce6b5c947ea31350c635dcdce43fee527b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 1 16:12:33 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 1 19:38:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dcc92ce |
7 |
|
8 |
app-alternatives/bzip2: Simplify by chaining manpage references |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/28494 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
app-alternatives/bzip2/{bzip2-0.ebuild => bzip2-1.ebuild} | 9 +++------ |
15 |
1 file changed, 3 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/app-alternatives/bzip2/bzip2-0.ebuild b/app-alternatives/bzip2/bzip2-1.ebuild |
18 |
similarity index 82% |
19 |
rename from app-alternatives/bzip2/bzip2-0.ebuild |
20 |
rename to app-alternatives/bzip2/bzip2-1.ebuild |
21 |
index 50e36d3cc7b2..6e61b5e2135d 100644 |
22 |
--- a/app-alternatives/bzip2/bzip2-0.ebuild |
23 |
+++ b/app-alternatives/bzip2/bzip2-1.ebuild |
24 |
@@ -30,22 +30,19 @@ src_install() { |
25 |
if use lbzip2; then |
26 |
dosym "${usr_prefix}lbzip2" /bin/bzip2 |
27 |
newman - bzip2.1 <<<".so lbzip2.1" |
28 |
- newman - bunzip2.1 <<<".so lbzip2.1" |
29 |
- newman - bzcat.1 <<<".so lbzip2.1" |
30 |
elif use pbzip2; then |
31 |
dosym "${usr_prefix}pbzip2" /bin/bzip2 |
32 |
newman - bzip2.1 <<<".so pbzip2.1" |
33 |
- newman - bunzip2.1 <<<".so pbzip2.1" |
34 |
- newman - bzcat.1 <<<".so pbzip2.1" |
35 |
elif use reference; then |
36 |
dosym bzip2-reference /bin/bzip2 |
37 |
newman - bzip2.1 <<<".so bzip2-reference.1" |
38 |
- newman - bunzip2.1 <<<".so bzip2-reference.1" |
39 |
- newman - bzcat.1 <<<".so bzip2-reference.1" |
40 |
else |
41 |
die "Invalid USE flag combination (broken REQUIRED_USE?)" |
42 |
fi |
43 |
|
44 |
dosym bzip2 /bin/bunzip2 |
45 |
dosym bzip2 /bin/bzcat |
46 |
+ |
47 |
+ newman - bunzip2.1 <<<".so bzip2.1" |
48 |
+ newman - bzcat.1 <<<".so bzip2.1" |
49 |
} |