I'm having trouble trying to update automatically the bash completion in the current bash session when installing a package.
My package installs the completion file in
/usr/share/bash-completion/completions/ but the completion does not work for the session that installs the package (with
dpkg - i)
I tried running
. /path/to/the/file and even
. /etc/profile in the
postinst script to no avail.
How could I do this?