[__letsencrypt_cert] Don't mess with user script indentation

This could break in odd ways if they passed sth like:
cat <<eof
bla bla
eof
This commit is contained in:
evilham 2021-02-09 20:53:58 +01:00
parent e49da474c4
commit b832af5e3b

View file

@ -206,7 +206,8 @@ EOF
hook_contents_tail="$(cat <<EOF
if [ -n "\${APPLY_HOOK}" ]; then
$(sed -e 's/^/ /' "${hook_source}")
# Messing with indentation can eff up the users' scripts, let's not
$(cat "${hook_source}")
fi
EOF
)"