diff options
author | Matt Whitlock <gentoo@mattwhitlock.name> | 2024-03-06 13:03:20 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-07 15:15:43 +0000 |
commit | 950b8a10289e3d99377239afef096e91104a30bd (patch) | |
tree | 3ec9b5a8967b8044bf9b26e1b3183f14c178fd09 /net-p2p | |
parent | sys-firmware/sof-firmware: drop 2023.09.2 (diff) | |
download | gentoo-950b8a10289e3d99377239afef096e91104a30bd.tar.gz gentoo-950b8a10289e3d99377239afef096e91104a30bd.tar.bz2 gentoo-950b8a10289e3d99377239afef096e91104a30bd.zip |
net-p2p/bitcoin-core: install symlink for bitcoin-qt Bash completion
Closes: https://bugs.gentoo.org/926253
Signed-off-by: Matt Whitlock <gentoo@mattwhitlock.name>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/bitcoin-core/bitcoin-core-25.1-r2.ebuild (renamed from net-p2p/bitcoin-core/bitcoin-core-25.1-r1.ebuild) | 7 | ||||
-rw-r--r-- | net-p2p/bitcoin-core/bitcoin-core-26.0-r1.ebuild (renamed from net-p2p/bitcoin-core/bitcoin-core-26.0.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 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 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 |