OK so heredoc was a bad choice

This commit is contained in:
Mark 2022-04-09 08:00:53 +01:00
parent 71c62bead9
commit 982b3a1f0f
1 changed files with 2 additions and 4 deletions

View File

@ -46,11 +46,9 @@ chmod -cR u+s,g+s,o+s ${ACME_HOME}
apt install sudo socat curl coreutils
# Download & install.
CMD=<<CMD
sudo -s -u "${ACME_USER}" curl -o "${ACME_SCRIPT_TMP}" "${ACME_SCRIPT_URL}" && bash ${ACME_SCRIPT_TMP} --home ${ACME_HOME} --install
CMD
CMD_RUN="sudo -s -u "${ACME_USER}" curl -o "${ACME_SCRIPT_TMP}" "${ACME_SCRIPT_URL}"; bash ${ACME_SCRIPT_TMP} --home ${ACME_HOME} --install"
$CMD
$CMD_RUN
}