Reflect NOCRON and NOPROFILE env variable
This commit is contained in:
parent
fe081b522d
commit
f296fdd22b
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…
Reference in New Issue
Block a user