mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 22:51:39 +00:00
This commit is contained in:
parent
8601267b90
commit
0a47f48191
6
acme.sh
6
acme.sh
@ -2561,7 +2561,7 @@ __initHome() {
|
|||||||
_script_home="$(dirname "$_script")"
|
_script_home="$(dirname "$_script")"
|
||||||
_debug "_script_home" "$_script_home"
|
_debug "_script_home" "$_script_home"
|
||||||
if [ -d "$_script_home" ]; then
|
if [ -d "$_script_home" ]; then
|
||||||
_SCRIPT_HOME="$_script_home"
|
export _SCRIPT_HOME="$_script_home"
|
||||||
else
|
else
|
||||||
_err "It seems the script home is not correct:$_script_home"
|
_err "It seems the script home is not correct:$_script_home"
|
||||||
fi
|
fi
|
||||||
@ -6557,7 +6557,7 @@ install() {
|
|||||||
if [ "$_accountemail" ]; then
|
if [ "$_accountemail" ]; then
|
||||||
_saveaccountconf "ACCOUNT_EMAIL" "$_accountemail"
|
_saveaccountconf "ACCOUNT_EMAIL" "$_accountemail"
|
||||||
fi
|
fi
|
||||||
|
_saveaccountconf "UPGRADE_HASH" "$(_getUpgradeHash)"
|
||||||
_info OK
|
_info OK
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6921,8 +6921,6 @@ installOnline() {
|
|||||||
chmod +x $PROJECT_ENTRY
|
chmod +x $PROJECT_ENTRY
|
||||||
if ./$PROJECT_ENTRY --install "$@"; then
|
if ./$PROJECT_ENTRY --install "$@"; then
|
||||||
_info "Install success!"
|
_info "Install success!"
|
||||||
_initpath
|
|
||||||
_saveaccountconf "UPGRADE_HASH" "$(_getUpgradeHash)"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user