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
0a47f481
Commit
0a47f481
authored
Sep 08, 2022
by
neil
Browse files
fix
https://github.com/acmesh-official/acme.sh/issues/4301
parent
8601267b
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
0a47f481
...
...
@@ -2561,7 +2561,7 @@ __initHome() {
_script_home
=
"
$(
dirname
"
$_script
"
)
"
_debug
"_script_home"
"
$_script_home
"
if
[
-d
"
$_script_home
"
]
;
then
_SCRIPT_HOME
=
"
$_script_home
"
export
_SCRIPT_HOME
=
"
$_script_home
"
else
_err
"It seems the script home is not correct:
$_script_home
"
fi
...
...
@@ -6557,7 +6557,7 @@ install() {
if
[
"
$_accountemail
"
]
;
then
_saveaccountconf
"ACCOUNT_EMAIL"
"
$_accountemail
"
fi
_saveaccountconf
"UPGRADE_HASH"
"
$(
_getUpgradeHash
)
"
_info OK
}
...
...
@@ -6921,8 +6921,6 @@ installOnline() {
chmod
+x
$PROJECT_ENTRY
if
./
$PROJECT_ENTRY
--install
"
$@
"
;
then
_info
"Install success!"
_initpath
_saveaccountconf
"UPGRADE_HASH"
"
$(
_getUpgradeHash
)
"
fi
cd
..
...
...
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