mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
This commit is contained in:
parent
6104680caa
commit
4356eefbb1
12
acme.sh
12
acme.sh
@ -4821,9 +4821,11 @@ install() {
|
|||||||
_debug "Skip install cron job"
|
_debug "Skip install cron job"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! _precheck "$_nocron"; then
|
if [ "$IN_CRON" != "1" ]; then
|
||||||
_err "Pre-check failed, can not install."
|
if ! _precheck "$_nocron"; then
|
||||||
return 1
|
_err "Pre-check failed, can not install."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$_c_home" ] && [ "$LE_CONFIG_HOME" != "$LE_WORKING_DIR" ]; then
|
if [ -z "$_c_home" ] && [ "$LE_CONFIG_HOME" != "$LE_WORKING_DIR" ]; then
|
||||||
@ -4876,7 +4878,9 @@ install() {
|
|||||||
|
|
||||||
_info "Installed to $LE_WORKING_DIR/$PROJECT_ENTRY"
|
_info "Installed to $LE_WORKING_DIR/$PROJECT_ENTRY"
|
||||||
|
|
||||||
_installalias "$_c_home"
|
if [ "$IN_CRON" != "1" ]; then
|
||||||
|
_installalias "$_c_home"
|
||||||
|
fi
|
||||||
|
|
||||||
for subf in $_SUB_FOLDERS; do
|
for subf in $_SUB_FOLDERS; do
|
||||||
if [ -d "$subf" ]; then
|
if [ -d "$subf" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user