Hello Justin, On Mon, Aug 01, 2005 at 12:47:59AM +0100, Justin B Rye wrote: > Bastian Kleineidam <[EMAIL PROTECTED]> changelogged: > > - fixes bash-completion script > > (Closes: #309076) > > It's not quite a wateright fix; if I don't notice the "Suggests: > python2.4-optcomplete", or don't realise why it's needed, I'll still > get the same errors. I would therefore like to suggest a slightly > more robust version: > > > > --- linkchecker-completion 2005-05-02 13:14:50.000000000 +0100 > +++ linkchecker 2005-08-01 00:34:52.000000000 +0100 > @@ -1,4 +1,5 @@ > # install this file into /etc/bash_completion.d/linkchecker on a > # Debian Linux System > > -complete -F _optcomplete linkchecker > +[ -r /etc/bash_completion.d/optcomplete ] && > + complete -F _optcomplete linkchecker The completion script you have is not uptodate. I attached the current completion script which should be installed in 3.0-1.
> Oh, and note the filenames; my revised version obeys the > instructions in the first two lines of the file! I will change the first two lines in the next release, thanks ;) Regards, Bastian -- ,''`. Bastian Kleineidam : :' : GnuPG Schlüssel `. `' gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E `-
# install this file into /etc/bash_completion.d/linkchecker on a # Debian Linux System have linkchecker && _linkcheck() { if type _optcomplete >/dev/null 2>&1; then _optcomplete "$@" else _filedir fi return 0 } [ "$have" ] && complete -F _linkcheck linkchecker
signature.asc
Description: Digital signature