mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
do not use script home
* do not use script home * fix format
This commit is contained in:
parent
6d84da588b
commit
048e5210f7
16
acme.sh
16
acme.sh
@ -1612,14 +1612,14 @@ __initHome() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$LE_WORKING_DIR" ]; then
|
||||
if [ -f "$DEFAULT_INSTALL_HOME/account.conf" ]; then
|
||||
_debug "It seems that $PROJECT_NAME is already installed in $DEFAULT_INSTALL_HOME"
|
||||
LE_WORKING_DIR="$DEFAULT_INSTALL_HOME"
|
||||
else
|
||||
LE_WORKING_DIR="$_SCRIPT_HOME"
|
||||
fi
|
||||
fi
|
||||
# if [ -z "$LE_WORKING_DIR" ]; then
|
||||
# if [ -f "$DEFAULT_INSTALL_HOME/account.conf" ]; then
|
||||
# _debug "It seems that $PROJECT_NAME is already installed in $DEFAULT_INSTALL_HOME"
|
||||
# LE_WORKING_DIR="$DEFAULT_INSTALL_HOME"
|
||||
# else
|
||||
# LE_WORKING_DIR="$_SCRIPT_HOME"
|
||||
# fi
|
||||
# fi
|
||||
|
||||
if [ -z "$LE_WORKING_DIR" ]; then
|
||||
_debug "Using default home:$DEFAULT_INSTALL_HOME"
|
||||
|
Loading…
Reference in New Issue
Block a user