Reflect NOCRON and NOPROFILE env variable

This commit is contained in:
Honza Hommer 2019-08-01 03:35:52 +02:00
parent fe081b522d
commit f296fdd22b
No known key found for this signature in database
GPG Key ID: F1A1FA427709F5EF

View File

@ -5713,9 +5713,9 @@ install() {
LE_WORKING_DIR="$DEFAULT_INSTALL_HOME"
fi
_nocron="$1"
_nocron="${NOCRON:-$1}"
_c_home="$2"
_noprofile="$3"
_noprofile="${NOPROFILE:-$3}"
if ! _initpath; then
_err "Install failed."
return 1
@ -5723,6 +5723,9 @@ install() {
if [ "$_nocron" ]; then
_debug "Skip install cron job"
fi
if [ "$_noprofile" ]; then
_debug "Skip install aliases"
fi
if [ "$ACME_IN_CRON" != "1" ]; then
if ! _precheck "$_nocron"; then