summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2021-11-11 09:01:55 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2021-11-11 09:06:08 -0300
commit10a53d527f7f2c39cfa47130a0abb74ff88d82c4 (patch)
treeb8a40a56ab40de78e6a79b2ec23e3ce2ea2876cc
parentc3b1732cd05b772e320bcb25268b4a1bf4c4b64e (diff)
downloadbash-completion-10a53d527f7f2c39cfa47130a0abb74ff88d82c4.tar.gz
Request sh instead of bash in post scripts (bug #999416)
As reported by Adam [1], post scripts in bash-completion do not have any bashisms (also verified with `checkbashisms'), yet the hashbang in them is #!/bin/bash. This commit fixes this. [1] bugs.debian.org/999416
-rw-r--r--debian/changelog2
-rw-r--r--debian/postinst2
-rw-r--r--debian/postrm2
3 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 80800182..67b04543 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
bash-completion (1:2.11-5) UNRELEASED; urgency=medium
+ * Request sh instead of bash in post scripts (Closes: #999416).
+
-- Gabriel F. T. Gomes <gabriel@debian.org> Sun, 03 Oct 2021 14:20:06 -0300
bash-completion (1:2.11-4) unstable; urgency=medium
diff --git a/debian/postinst b/debian/postinst
index 08638932..4b093749 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -e
diff --git a/debian/postrm b/debian/postrm
index d69ec6a9..12fec197 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
set -e