On Mon, 5 Jan 2026 19:17:09 +0100 Francesco Poli wrote:

[...]
> The attached patch is intended to be directly applied to the installed
> package
[...]
> Obviously, in order to apply it to the Debian source package, paths
> need to be adapted a little, but that's trivial to do.

Well, even more convenient, I have just created a [MR] on salsa.

[MR]: <https://salsa.debian.org/debian/pmount/-/merge_requests/3>

Dear maintainer(s) of the 'pmount' Debian package, please review and
accept my [MR]!

> 
> 
> The patch:
> 
>  * removes '/etc/bash_completion.d/pmount' entirely, since it is my
>    understanding that placing completion scripts into that location is
>    obsolete and/or deprecated

By the way, I noticed that the current 'pmount' Debian package (version
0.9.23-9 in trixie, forky, and sid, at the time of writing) does not
ship '/etc/bash_completion.d/pmount' at all.
It changed its destination in version 0.9.23-5, see the changes to file
'debian/pmount.install' in the relevant [commit].

[commit]: 
<https://salsa.debian.org/debian/pmount/-/commit/aa13a23418e3da187e1ba999506a90a2fd149f82#a0867916bfd2f1a4ecd9a257b27411d63efa8a05>

Howeover, I found two identical 'pmount' files on my box:
'/etc/bash_completion.d/pmount'
and
'/usr/share/bash-completion/completions/pmount'

The 'pmount' Debian package was installed on my box before 2020, and
that's for sure. But the leftover file in /etc/bash_completion.d/
should not have survived the upgrade from pmount/0.9.23-3 to
pmount/0.9.23-5 ...
Maybe the leftover file is still there, because it is under /etc and
was treated as a conffile: should this problem be addressed by adding
some code in 'pmount.postinst' ?
Something like 'rm -f /etc/bash_completion.d/pmount' with some comment
to explain that this completion script directory is obsolete?

[...]
> Looking forward to seeing a fixed pmount bash completion in Debian!
> Thanks for your time and dedication.

Still looking forward.
Bye!


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpcxNXjF2yDt.pgp
Description: PGP signature

Reply via email to