<div class="gmail_quote"><div>Hi David!<br><br>THX for the input.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">There was a bug filed about this, and dh_bash-completion tries to understand<br>
whether debian/bash-completion is a shell fragment (and installs it into the<br>
proper directory), or a list of filenames (and installs those).<br>
<div class="im"><br>
> > I want now to "extend" dh_bash-completion do behave in the same way. I<br>
> > would assume the following 3 cases:<br>
> > 1) There is a file called debian/bash-completion. Then copy that file<br>
> > to /etc/bash_completion.d/<name-of-package>.<br>
<br>
</div>Does that already.<br>
<div class="im"></div></blockquote><div><br>I mentioned this so that the current functionality doesn't get broken and keeps the script backwards compatible<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">
> > 3) There is a file called debian/completions. Copy the files mentioned<br>
> > there to /etc/bash_completion.d using <packagename>_<filename> as the<br>
> > new destionation names.<br>
<br>
</div>Why diverging with "completions" instead of bash-completion?<br>
However, it already does this.<br>
<br>
*And*, I don't really agree to change the completion names.<br>
</blockquote><div><br>If dh_bash-completion is checking if debian/bash-completion is a script or a list of files then it doesn't require a name change. If it is not checking then for backward compatibility it would require a name change so that other packages don't get broken.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
However, those changes you're asking were uploaded on Fri, 03 Apr 2009 14:21:43<br>
+0200, with version 1:1.0-1 in Debian.<br>
The bug is <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512917" target="_blank">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512917</a> .<br>
<br>
The fact is: Ubuntu hasn't synced bash-completion for a while (we also changed<br>
version numbering scheme in the meanwhile!)<br>
</blockquote></div><br>Well, I might just check the new version and update the Ubuntu package.<br><br>Anyway, thanks for your help.<br><br>/Federico<br>