Browse Source

Reflect NOCRON and NOPROFILE env variable

pull/2274/head
Honza Hommer 6 years ago
parent
commit
f296fdd22b
No known key found for this signature in database GPG Key ID: F1A1FA427709F5EF
  1. 7
      acme.sh

7
acme.sh

@ -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

Loading…
Cancel
Save