Force using bash in post install script.

https://github.com/igorpecovnik/lib/issues/325#issuecomment-222322653
This commit is contained in:
Igor Pecovnik 2016-05-28 21:19:55 +02:00
parent 96941dd4dd
commit e23a2fa2e9
19 changed files with 209 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -218,7 +218,7 @@
for script in postinst postrm preinst prerm ; do
mkdir -p "$tmpdir$debhookdir/$script.d"
cat <<EOF > "$tmpdir/DEBIAN/$script"
-#!/bin/sh
+#!/bin/bash
set -e