mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-physics/yoda: Fix bashcompletion
Bug: https://bugs.gentoo.org/926510 Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> Closes: https://github.com/gentoo/gentoo/pull/35746 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
committed by
Andrew Ammerlaan
parent
5e2741b26c
commit
b155b1eb7a
@@ -80,7 +80,27 @@ src_test() {
|
||||
src_install() {
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
|
||||
if use python ; then
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
|
||||
bashcomp_alias ${PN} ${PN}-config
|
||||
bashcomp_alias ${PN} ${PN}stack \
|
||||
aida2flat \
|
||||
${PN}diff \
|
||||
${PN}cnv \
|
||||
${PN}hist \
|
||||
${PN}-config \
|
||||
${PN}2flat \
|
||||
${PN}scale \
|
||||
${PN}2root \
|
||||
${PN}cmp \
|
||||
${PN}merge \
|
||||
${PN}plot \
|
||||
aida2${PN} \
|
||||
${PN}ls \
|
||||
${PN}envelope \
|
||||
${PN}2aida
|
||||
fi
|
||||
|
||||
rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
|
||||
|
||||
use python && python_optimize
|
||||
|
||||
@@ -80,7 +80,27 @@ src_test() {
|
||||
src_install() {
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
|
||||
if use python ; then
|
||||
newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
|
||||
bashcomp_alias ${PN} ${PN}-config
|
||||
bashcomp_alias ${PN} ${PN}stack \
|
||||
aida2flat \
|
||||
${PN}diff \
|
||||
${PN}cnv \
|
||||
${PN}hist \
|
||||
${PN}-config \
|
||||
${PN}2flat \
|
||||
${PN}scale \
|
||||
${PN}2root \
|
||||
${PN}cmp \
|
||||
${PN}merge \
|
||||
${PN}plot \
|
||||
aida2${PN} \
|
||||
${PN}ls \
|
||||
${PN}envelope \
|
||||
${PN}2aida
|
||||
fi
|
||||
|
||||
rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
|
||||
|
||||
use python && python_optimize
|
||||
|
||||
Reference in New Issue
Block a user