diff --git a/bin/installbfa.sh b/bin/installbfa.sh index cc1a2e2dd9d07136c61c3e77a13534dafbd8548e..cebc3c783abdaa9579fe40df4817e080d042518d 100755 --- a/bin/installbfa.sh +++ b/bin/installbfa.sh @@ -154,10 +154,6 @@ function usersetup function userconfig { - if [ ! -e "${BFAHOME}/bin/env" ] - then - cp -p ${BFAHOME}/$envfile ${BFAHOME}/bin/env - fi if [ $( expand < .bashrc | grep -E "source ${BFAHOME}/bin/env" | wc -l ) -eq 0 ] then info "Adding to automatically source ${BFAHOME}/bin/env via .bashrc" @@ -173,6 +169,10 @@ function userconfig cd "$BFAHOME" git pull fi + if [ ! -e "${BFAHOME}/bin/env" ] + then + cp -p ${BFAHOME}/$envfile ${BFAHOME}/bin/env + fi PATH=${PATH}:${BFAHOME}/bin }