From f296fdd22bfcd86d70f17cd52d4712722b8669f4 Mon Sep 17 00:00:00 2001 From: Honza Hommer Date: Thu, 1 Aug 2019 03:35:52 +0200 Subject: [PATCH] Reflect NOCRON and NOPROFILE env variable --- acme.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/acme.sh b/acme.sh index f0a82353..1313d4f8 100755 --- a/acme.sh +++ b/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