And another goof.. I won't tell if you wont.

This commit is contained in:
Mark 2022-04-09 07:56:55 +01:00
parent a1e92d0ab5
commit e5cfd8ef0a
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ ACME_HOME='/etc/acme'
ACME_SCRIPT_URL='https://raw.githubusercontent.com/acmesh-official/acme.sh/master/acme.sh'
# Temporary script location.
ACME_SCRIPT_TMP='${ACME_HOME}/acme.sh'
ACME_SCRIPT_TMP='/tmp/acme.sh'
install() {
# Add user.
@ -46,7 +46,7 @@ chmod -cR u+s,g+s,o+s ${ACME_HOME}
apt install sudo socat curl coreutils
# Download & install.
sudo -s -u "${ACME_USER}" curl -o "${ACME_SCRIPT_TMP}" "${ACME_SCRIPT_URL}" && ${ACME_SCRIPT_TMP} --install
sudo -s -u "${ACME_USER}" curl -o "${ACME_SCRIPT_TMP}" "${ACME_SCRIPT_URL}" && bash ${ACME_SCRIPT_TMP} --install
}