evoacme: upstream release 20.11

This commit is contained in:
Jérémy Lecour 2020-11-19 21:21:07 +01:00 committed by Jérémy Lecour
parent 6c202dcf4f
commit b43d0f3629
4 changed files with 10 additions and 4 deletions

View file

@ -20,7 +20,7 @@ The **patch** part changes incrementally at each release.
### Changed ### Changed
* evoacme: Don't ignore hooks with . in the name (ignore when it's ".disable") * evoacme: upstream release 20.11
### Fixed ### Fixed

View file

@ -284,13 +284,19 @@ main() {
export EVOACME_CHAIN="${LIVE_CHAIN}" export EVOACME_CHAIN="${LIVE_CHAIN}"
export EVOACME_FULLCHAIN="${LIVE_FULLCHAIN}" export EVOACME_FULLCHAIN="${LIVE_FULLCHAIN}"
# emulate certbot hooks environment variables
export RENEWED_LINEAGE="${LIVE_CHAIN}"
export RENEWED_DOMAINS="${VHOST}"
# search for files in hooks directory # search for files in hooks directory
for hook in $(find ${HOOKS_DIR} -type f -executable | sort); do for hook in $(find ${HOOKS_DIR} -type f -executable | sort); do
set +e
# keep only executables files, not containing a "." # keep only executables files, not containing a "."
if [ -x "${hook}" ] && (basename "${hook}" | grep -vqF ".disable"); then if [ -x "${hook}" ] && (basename "${hook}" | grep -vqF ".disable"); then
debug "Executing ${hook}" debug "Executing ${hook}"
${hook} ${hook}
fi fi
set -e
done done
} }
@ -303,7 +309,7 @@ readonly QUIET=${QUIET:-"0"}
readonly TEST=${TEST:-"0"} readonly TEST=${TEST:-"0"}
readonly DRY_RUN=${DRY_RUN:-"0"} readonly DRY_RUN=${DRY_RUN:-"0"}
readonly VERSION="20.08" readonly VERSION="20.11"
# Read configuration file, if it exists # Read configuration file, if it exists
[ -r /etc/default/evoacme ] && . /etc/default/evoacme [ -r /etc/default/evoacme ] && . /etc/default/evoacme

View file

@ -265,7 +265,7 @@ readonly ARGS=$@
readonly VERBOSE=${VERBOSE:-"0"} readonly VERBOSE=${VERBOSE:-"0"}
readonly QUIET=${QUIET:-"0"} readonly QUIET=${QUIET:-"0"}
readonly VERSION="20.08" readonly VERSION="20.11"
# Read configuration file, if it exists # Read configuration file, if it exists
[ -r /etc/default/evoacme ] && . /etc/default/evoacme [ -r /etc/default/evoacme ] && . /etc/default/evoacme

View file

@ -170,7 +170,7 @@ readonly ARGS=$@
readonly VERBOSE=${VERBOSE:-"0"} readonly VERBOSE=${VERBOSE:-"0"}
readonly QUIET=${QUIET:-"0"} readonly QUIET=${QUIET:-"0"}
readonly VERSION="20.08" readonly VERSION="20.11"
readonly SRV_IP=${SRV_IP:-""} readonly SRV_IP=${SRV_IP:-""}