mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
dev-util/mock: fix bash completion
Upstream defines bash completions for both with and without .py in the name. Since we do not include .py files, remove those completions. Closes: https://bugs.gentoo.org/928266 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
parent
502f8a9818
commit
5e29e8cba7
@ -55,6 +55,9 @@ src_prepare() {
|
||||
sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
|
||||
|
||||
sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
|
||||
|
||||
# bug #928266: remove unnecessary completion target for us
|
||||
sed -i -e "s/ mock.py//" -e "s/ mock-parse-buildlog.py//" etc/bash_completion.d/mock || die
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
Loading…
x
Reference in New Issue
Block a user