#763139 pulseaudio-bash-completion.sh: Does not need #!

Package:
pulseaudio
Source:
pulseaudio
Description:
PulseAudio sound server
Submitter:
Josh Triplett
Date:
2026-08-15 22:41:02 UTC
Severity:
minor
Tags:
#763139#3
Date:
2014-09-28 05:58:02 UTC
From:
To:
bash completion scripts get sourced, not executed, so
pulseaudio-bash-completion.sh doesn't need a #! line.

- Josh Triplett

#763139#8
Date:
2026-08-15 22:39:24 UTC
From:
To:
Hi,

I checked this against PulseAudio v17.0. The bash completion is now
shell-completion/bash/pactl, and it still begins with #!/bin/bash.

Meson installs this file with install_data() into the bash-completion
directory, so it is a sourced completion snippet rather than a standalone
executable.

Attached is a small DEP-3 quilt patch removing the shebang and following
blank line. I tested that the patch applies cleanly to the v17.0 file.

Thanks,
Thomas Stephens