mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-09 16:01:46 +00:00
fix issue, when profile not end with newline
This commit is contained in:
parent
eb27013fba
commit
dcf9c467c3
2
acme.sh
2
acme.sh
@ -6371,7 +6371,7 @@ _installalias() {
|
|||||||
if [ "$_profile" ]; then
|
if [ "$_profile" ]; then
|
||||||
_debug "Found profile: $_profile"
|
_debug "Found profile: $_profile"
|
||||||
_info "Installing alias to '$_profile'"
|
_info "Installing alias to '$_profile'"
|
||||||
_setopt "$_profile" ". \"$_envfile\""
|
_setopt "$_profile" "\n. \"$_envfile\""
|
||||||
_info "OK, Close and reopen your terminal to start using $PROJECT_NAME"
|
_info "OK, Close and reopen your terminal to start using $PROJECT_NAME"
|
||||||
else
|
else
|
||||||
_info "No profile is found, you will need to go into $LE_WORKING_DIR to use $PROJECT_NAME"
|
_info "No profile is found, you will need to go into $LE_WORKING_DIR to use $PROJECT_NAME"
|
||||||
|
Loading…
Reference in New Issue
Block a user