Browse Source
Reflect NOCRON and NOPROFILE env variable
pull/2274/head
Honza Hommer
6 years ago
No known key found for this signature in database
GPG Key ID: F1A1FA427709F5EF
1 changed files with
5 additions and
2 deletions
-
acme.sh
|
|
@ -5713,9 +5713,9 @@ install() { |
|
|
LE_WORKING_DIR="$DEFAULT_INSTALL_HOME" |
|
|
LE_WORKING_DIR="$DEFAULT_INSTALL_HOME" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
_nocron="$1" |
|
|
|
|
|
|
|
|
_nocron="${NOCRON:-$1}" |
|
|
_c_home="$2" |
|
|
_c_home="$2" |
|
|
_noprofile="$3" |
|
|
|
|
|
|
|
|
_noprofile="${NOPROFILE:-$3}" |
|
|
if ! _initpath; then |
|
|
if ! _initpath; then |
|
|
_err "Install failed." |
|
|
_err "Install failed." |
|
|
return 1 |
|
|
return 1 |
|
|
@ -5723,6 +5723,9 @@ install() { |
|
|
if [ "$_nocron" ]; then |
|
|
if [ "$_nocron" ]; then |
|
|
_debug "Skip install cron job" |
|
|
_debug "Skip install cron job" |
|
|
fi |
|
|
fi |
|
|
|
|
|
if [ "$_noprofile" ]; then |
|
|
|
|
|
_debug "Skip install aliases" |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
if [ "$ACME_IN_CRON" != "1" ]; then |
|
|
if [ "$ACME_IN_CRON" != "1" ]; then |
|
|
if ! _precheck "$_nocron"; then |
|
|
if ! _precheck "$_nocron"; then |
|
|
|