From 10a53d527f7f2c39cfa47130a0abb74ff88d82c4 Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Thu, 11 Nov 2021 09:01:55 -0300 Subject: 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 --- debian/changelog | 2 ++ debian/postinst | 2 +- debian/postrm | 2 +- 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 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 -- cgit v1.2.1