Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
4356eefb
Commit
4356eefb
authored
Sep 03, 2017
by
neilpang
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/1005#event-1232471561
parent
6104680c
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
4356eefb
...
@@ -4821,10 +4821,12 @@ install() {
...
@@ -4821,10 +4821,12 @@ install() {
_debug
"Skip install cron job"
_debug
"Skip install cron job"
fi
fi
if
[
"
$IN_CRON
"
!=
"1"
]
;
then
if
!
_precheck
"
$_nocron
"
;
then
if
!
_precheck
"
$_nocron
"
;
then
_err
"Pre-check failed, can not install."
_err
"Pre-check failed, can not install."
return
1
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
_info
"Using config home:
$LE_CONFIG_HOME
"
_info
"Using config home:
$LE_CONFIG_HOME
"
...
@@ -4876,7 +4878,9 @@ install() {
...
@@ -4876,7 +4878,9 @@ install() {
_info
"Installed to
$LE_WORKING_DIR
/
$PROJECT_ENTRY
"
_info
"Installed to
$LE_WORKING_DIR
/
$PROJECT_ENTRY
"
if
[
"
$IN_CRON
"
!=
"1"
]
;
then
_installalias
"
$_c_home
"
_installalias
"
$_c_home
"
fi
for
subf
in
$_SUB_FOLDERS
;
do
for
subf
in
$_SUB_FOLDERS
;
do
if
[
-d
"
$subf
"
]
;
then
if
[
-d
"
$subf
"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment