1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-01 23:57:05 +00:00

use bash as 'source' is needed in provision scripts

This commit is contained in:
downtownallday 2024-10-04 16:27:26 -04:00
parent ae056e507b
commit 696b597a9c

View File

@ -67,7 +67,7 @@ provision_shell() {
else
local tmp=$(mktemp)
echo "#!/bin/sh" >"$tmp"
echo "#!/bin/bash" >"$tmp"
cat >>"$tmp"
lxc --project "$project" file push "$tmp" "${inst}${remote_path}" $lxc_flags || return 1
rm -f "$tmp"