mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 06:31:42 +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
|
||||
_debug "Found profile: $_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"
|
||||
else
|
||||
_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