mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 22:51:39 +00:00
info: Close and reopen your terminal to start using le
This commit is contained in:
parent
bf3135ef84
commit
b4e2604c82
5
le.sh
5
le.sh
@ -1093,9 +1093,6 @@ install() {
|
|||||||
cp le.sh $LE_WORKING_DIR/
|
cp le.sh $LE_WORKING_DIR/
|
||||||
chmod +x $LE_WORKING_DIR/le.sh
|
chmod +x $LE_WORKING_DIR/le.sh
|
||||||
|
|
||||||
alias le=\"$LE_WORKING_DIR/le.sh\"
|
|
||||||
alias le.sh=\"$LE_WORKING_DIR/le.sh\"
|
|
||||||
|
|
||||||
_profile="$(_detect_profile)"
|
_profile="$(_detect_profile)"
|
||||||
if [ "$_profile" ] ; then
|
if [ "$_profile" ] ; then
|
||||||
_debug "Found profile: $_profile"
|
_debug "Found profile: $_profile"
|
||||||
@ -1106,7 +1103,7 @@ alias le.sh=\"$LE_WORKING_DIR/le.sh\"
|
|||||||
" > "$LE_WORKING_DIR/le.env"
|
" > "$LE_WORKING_DIR/le.env"
|
||||||
|
|
||||||
_setopt "$_profile" "source \"$LE_WORKING_DIR/le.env\""
|
_setopt "$_profile" "source \"$LE_WORKING_DIR/le.env\""
|
||||||
|
_info "OK, Close and reopen your terminal to start using le"
|
||||||
else
|
else
|
||||||
_info "No profile is found, you will need to go into $LE_WORKING_DIR to use le.sh"
|
_info "No profile is found, you will need to go into $LE_WORKING_DIR to use le.sh"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user