[Bash-completion-devel] Bug#586210: Bug#586210: bash-completion: upgrade leaves /etc/bash_completion.d/system

John Hedges john at drystone.co.uk
Thu Jun 17 14:32:41 UTC 2010


On Thu, Jun 17, 2010 at 04:11:54PM +0200, David Paleino wrote:
> tags 586210 unreproducible
> thanks
> 
> Hello,
> 
> On Thu, 17 Jun 2010 12:58:51 +0100, John Hedges wrote:
> 
> > After today's dist-upgrade bash errors on startup.
> > The error is caused by /etc/bash-completion.d/system which I believe is no
> > longer required. However, the install scripts did not remove the file.
> 
> That file (/etc/bash_completion.d/system, you have a typo there) is not
> installed by bash-completion, AFAICT. Moreover, I can't find it in any official
> Debian package, from Lenny onwards.
> 
> Maybe it's something you manually wrote? Or some unofficial package installed
> it?
> Can you post the output of "dpkg -S completion.d/system"?
> 
> Kindly,
> David

Hi David

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).

Sorry for the garbage!

Cheers
John

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bash_completion.patch
Type: text/x-diff
Size: 679 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20100617/2970574b/attachment.patch>


More information about the Bash-completion-devel mailing list