Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521352 - net-p2p/{datacoin-hp,litecoind,primecoind}: installs bash-completion for bitcoind...
Summary: net-p2p/{datacoin-hp,litecoind,primecoind}: installs bash-completion for bitc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bashcomp2
  Show dependency tree
 
Reported: 2014-08-28 09:30 UTC by Michał Górny
Modified: 2014-08-28 22:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.