commit: 950b8a10289e3d99377239afef096e91104a30bd Author: Matt Whitlock <gentoo <AT> mattwhitlock <DOT> name> AuthorDate: Wed Mar 6 18:03:20 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Mar 7 15:15:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=950b8a10
net-p2p/bitcoin-core: install symlink for bitcoin-qt Bash completion Closes: https://bugs.gentoo.org/926253 Signed-off-by: Matt Whitlock <gentoo <AT> mattwhitlock.name> Signed-off-by: Sam James <sam <AT> gentoo.org> .../{bitcoin-core-25.1-r1.ebuild => bitcoin-core-25.1-r2.ebuild} | 7 ++++++- .../{bitcoin-core-26.0.ebuild => bitcoin-core-26.0-r1.ebuild} | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/net-p2p/bitcoin-core/bitcoin-core-25.1-r1.ebuild b/net-p2p/bitcoin-core/bitcoin-core-25.1-r2.ebuild similarity index 98% rename from net-p2p/bitcoin-core/bitcoin-core-25.1-r1.ebuild rename to net-p2p/bitcoin-core/bitcoin-core-25.1-r2.ebuild index 688ac7bf25d3..1b14729e0a7c 100644 --- a/net-p2p/bitcoin-core/bitcoin-core-25.1-r1.ebuild +++ b/net-p2p/bitcoin-core/bitcoin-core-25.1-r2.ebuild @@ -221,7 +221,12 @@ src_install() { newbashcomp contrib/completions/bash/bitcoin-tx.bash-completion bitcoin-tx use bitcoin-cli && newbashcomp contrib/completions/bash/bitcoin-cli.bash-completion bitcoin-cli - use daemon || use gui && newbashcomp contrib/completions/bash/bitcoind.bash-completion bitcoind + if use daemon ; then + newbashcomp contrib/completions/bash/bitcoind.bash-completion bitcoind + use gui && bashcomp_alias bitcoind bitcoin-qt + elif use gui ; then + newbashcomp contrib/completions/bash/bitcoind.bash-completion bitcoin-qt + fi if use daemon ; then insinto /etc/bitcoin diff --git a/net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild b/net-p2p/bitcoin-core/bitcoin-core-26.0-r1.ebuild similarity index 98% rename from net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild rename to net-p2p/bitcoin-core/bitcoin-core-26.0-r1.ebuild index 90d9df5ad6dd..bc609a903ac0 100644 --- a/net-p2p/bitcoin-core/bitcoin-core-26.0.ebuild +++ b/net-p2p/bitcoin-core/bitcoin-core-26.0-r1.ebuild @@ -228,7 +228,12 @@ src_install() { newbashcomp contrib/completions/bash/bitcoin-tx.bash bitcoin-tx use bitcoin-cli && newbashcomp contrib/completions/bash/bitcoin-cli.bash bitcoin-cli - use daemon || use gui && newbashcomp contrib/completions/bash/bitcoind.bash bitcoind + if use daemon ; then + newbashcomp contrib/completions/bash/bitcoind.bash bitcoind + use gui && bashcomp_alias bitcoind bitcoin-qt + elif use gui ; then + newbashcomp contrib/completions/bash/bitcoind.bash bitcoin-qt + fi if use daemon ; then insinto /etc/bitcoin
