Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 521352

Summary: net-p2p/{datacoin-hp,litecoind,primecoind}: installs bash-completion for bitcoind...
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: email
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 521146    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-28 09:30:22 UTC
$ tail /usr/share/bash-completion/completions/primecoind.bash-completion 
complete -F _bitcoind bitcoind
}

Errr....

Also, the filename should be 'primecoind' (matching the completed executable) -- or rather 'bitcoind' in this case ;P.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-28 09:33:44 UTC
Oh, and while at it, please remove USE=bash-completion. Completions are supposed to be installed unconditionally.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-28 10:27:30 UTC
The same applies to litecoind and datacoin-hp. Also, the 'have' inside is deprecated :).
Comment 3 Anthony Basile gentoo-dev 2014-08-28 22:57:58 UTC
I did a simple sed on the bash-completion's.  This appears to be sufficient.  As far as the 'have' goes, i found at least 190 on my system alone that use it.  If we want to deal with them, we might open a tracker with instructions on what to use instead.