Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
leecade committed Nov 14, 2016
1 parent 14feaee commit fe5bfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ install_link() {
SOURCE_STR="\nexport PATH=\"\$HOME/.fe/bin:\$PATH\"\n"
local SHELLTYPE
SHELLTYPE="$(basename "/$SHELL")"
ln -sf $HOME/.fe/bin/fe.js /usr/local/bin/fe

if [ -z "${PROFILE-}" ] ; then
printf "$red> Profile not found. Tried ${PROFILE} (as defined in \$PROFILE), ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.\n"
Expand All @@ -50,7 +51,6 @@ install_link() {
$HOME/.fe/bin/fe -v
# ignore: `source ~/.zshrc` cause error "autoload command not found"
source "$PROFILE" 2> /dev/null
command ln -sf $HOME/.fe/bin/fe.js /usr/local/bin/fe
command "$SHELLTYPE"
fi
}
Expand Down

0 comments on commit fe5bfde

Please sign in to comment.