Browse Source

info: Close and reopen your terminal to start using le

pull/53/head
neil 9 years ago
parent
commit
b4e2604c82
  1. 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…
Cancel
Save