Commit 01e9e395 authored by Tuukka Pasanen's avatar Tuukka Pasanen Committed by Andrew Hutchings

MDEV-31242: Make sure every Debian post/pre script is using bash

Make sure that every post and pre script are using bash
and have set -e in next to shebang.

Command set -e makes sure that if script fails in
one command it will fail whole script.
parent 34bbf37f
#!/bin/sh #!/bin/bash
set -e set -e
......
#!/bin/sh #!/bin/bash
set -e set -e
......
#!/bin/sh #!/bin/bash
set -e set -e
......
#!/bin/sh #!/bin/bash
set -e set -e
......
#!/bin/bash -e #!/bin/bash
# #
# summary of how this script can be called: # summary of how this script can be called:
# * <new-preinst> install # * <new-preinst> install
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
# * <old-preinst> abort-upgrade <new-version> # * <old-preinst> abort-upgrade <new-version>
# #
set -e
# shellcheck source=/dev/null # shellcheck source=/dev/null
. /usr/share/debconf/confmodule . /usr/share/debconf/confmodule
......
#!/bin/sh #!/bin/bash
set -e set -e
#DEBHELPER# #DEBHELPER#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment