commit: 2dcc92ce6b5c947ea31350c635dcdce43fee527b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Dec 1 16:12:33 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Dec 1 19:38:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dcc92ce
app-alternatives/bzip2: Simplify by chaining manpage references Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/28494 Signed-off-by: Sam James <sam <AT> gentoo.org> app-alternatives/bzip2/{bzip2-0.ebuild => bzip2-1.ebuild} | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app-alternatives/bzip2/bzip2-0.ebuild b/app-alternatives/bzip2/bzip2-1.ebuild similarity index 82% rename from app-alternatives/bzip2/bzip2-0.ebuild rename to app-alternatives/bzip2/bzip2-1.ebuild index 50e36d3cc7b2..6e61b5e2135d 100644 --- a/app-alternatives/bzip2/bzip2-0.ebuild +++ b/app-alternatives/bzip2/bzip2-1.ebuild @@ -30,22 +30,19 @@ src_install() { if use lbzip2; then dosym "${usr_prefix}lbzip2" /bin/bzip2 newman - bzip2.1 <<<".so lbzip2.1" - newman - bunzip2.1 <<<".so lbzip2.1" - newman - bzcat.1 <<<".so lbzip2.1" elif use pbzip2; then dosym "${usr_prefix}pbzip2" /bin/bzip2 newman - bzip2.1 <<<".so pbzip2.1" - newman - bunzip2.1 <<<".so pbzip2.1" - newman - bzcat.1 <<<".so pbzip2.1" elif use reference; then dosym bzip2-reference /bin/bzip2 newman - bzip2.1 <<<".so bzip2-reference.1" - newman - bunzip2.1 <<<".so bzip2-reference.1" - newman - bzcat.1 <<<".so bzip2-reference.1" else die "Invalid USE flag combination (broken REQUIRED_USE?)" fi dosym bzip2 /bin/bunzip2 dosym bzip2 /bin/bzcat + + newman - bunzip2.1 <<<".so bzip2.1" + newman - bzcat.1 <<<".so bzip2.1" }
