mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-20 05:09:08 +00:00
Force using bash in post install script.
https://github.com/igorpecovnik/lib/issues/325#issuecomment-222322653
This commit is contained in:
parent
96941dd4dd
commit
e23a2fa2e9
19 changed files with 209 additions and 0 deletions
11
patch/kernel/odroidc1-default/bash_to_afterinstall.patch
Normal file
11
patch/kernel/odroidc1-default/bash_to_afterinstall.patch
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue