[__letsencrypt_cert] Don't mess with user script indentation

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

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}")