[Bash-completion-devel] Bug#586210: Bug#586210: bash-completion: upgrade leaves /etc/bash_completion.d/system
David Paleino
dapal at debian.org
Thu Jun 17 15:49:54 UTC 2010
tags 586210 upstream fixed-upstream
retitle 586210 loading of "service" completion fails
thanks
Hello John,
On Thu, 17 Jun 2010 15:32:41 +0100, John Hedges wrote:
> I'ts a really rubbish bug report - I was in too much of a hurry! The problem
> file is /etc/bash_completion.d/service and it causes a problem on my system
> when an empty string is passed to:
> complete -F _service -o default ""
>
> I've attached a patch that seems to fix it (rightly or not).
I slightly modified it, to make it more compact ([ -n "$services" ] instead of
the if..fi), and I've already applied it upstream.
The error you reported should only occur if every file in /etc/init.d/ has a
proper completion (that's the meaning of "complete -p ${i##*/} || printf
[..]"). This seems unlikely to happen again, but better be safe than sorry.
I can't say why it happened in your case.
I fixed it upstream, will make a Debian patch (with a package upload) ASAP (I
want to fix the RC-bug with -2).
Thank you for your contribution!
David
--
. ''`. Debian developer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://deb.li/dapal
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20100617/c52a1d63/attachment.pgp>
More information about the Bash-completion-devel
mailing list