On 27 May 2020, Jürgen Kuri wrote:
>
>When I build the packages for Debian Jessie, everything works as expected, 
>both completion scripts are installed into the path:
>
>       $  ls -la /etc/bash_completion.d/
>       total 24
>       drwxr-xr-x  2 root root  4096 May 26 16:58 .
>       drwxr-xr-x 92 root root  4096 May 18 12:12 ..
>       -rw-r--r--  1 root root   933 May 18 17:26 fsmtool2-completion
>       -rw-r--r--  1 root root   980 May 18 17:26 fsmtool2_mtest-completion

For some time (I don't know exactly how long, because I only adopted
bash-completion about 2 years ago), the default installation path for
completion is /usr/share/bash-completion/completions/, as you have
noticed. So, I'd say that dh_bash-completion is doing the rigth thing.

>When I build the packages for Debian OS Stretch or Buster, bash-completion 
>does not work for both command line tools any more cause the completion 
>scripts are installed below:
>
>       * /usr/share/bash-completion/completions/fsmtool2-completion 
>       * /usr/share/bash-completion/completions/fsmtool2_mtest-completion 

On the other, you are saying that the completions do not work from this
location, and that's puzzling me. Could you provide more details about
the problem you are actually getting? Bash-completion is supposed to
work with files in this location.


Cheers,
Gabriel

Reply via email to