From: Sandro Knauß Date: Mon, 2 Dec 2024 21:47:45 +0000 (+0100) Subject: Bash-completion files are sourced, so remove shebang. X-Git-Tag: debian_keyringer_0.5.9-2~6 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c5d49f9d250f565ea1dbcd3c37e9246f1266006b;p=keyringer.git Bash-completion files are sourced, so remove shebang. --- diff --git a/debian/rules b/debian/rules index d5657f1..056a964 100755 --- a/debian/rules +++ b/debian/rules @@ -10,3 +10,7 @@ override_dh_auto_install: $(MAKE) DESTDIR=debian/keyringer PREFIX=/usr install rm debian/keyringer/usr/share/doc/keyringer/LICENSE + +execute_after_dh_auto_install: + # Fix bash-completion-with-hashbang bash + sed 's/^#!\s*bash//' -i debian/keyringer/usr/share/bash-completion/completions/keyringer