From 6dd3c2039d3d7050cb12894155ab92d1e1eba285 Mon Sep 17 00:00:00 2001 From: Your Name <rpereyra@escribanodigital.com> Date: Thu, 17 Mar 2022 19:54:01 +0000 Subject: [PATCH] ajuste produccion --- bin/installbfa.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/installbfa.sh b/bin/installbfa.sh index b7b2c78..bf74c4d 100755 --- a/bin/installbfa.sh +++ b/bin/installbfa.sh @@ -137,12 +137,14 @@ function userconfig then info "Adding to automatically source ${BFAHOME}/bin/env via .bashrc" echo "test -r ${BFAHOME}/bin/env && source ${BFAHOME}/bin/env" >> ~bfa/.bashrc + echo "cd ${BFAHOME}" >> ~bfa/.bashrc fi # cloning if not done already, or just update (pull) if [ ! -d "${BFAHOME}" ] then # initial cloning runasownerof ${BFAHOME%/*} git clone https://gitlab.bfa.ar/blockchain/nucleo.git $BFAHOME + git switch rpereyra2022 else runasownerof "${BFAHOME}" git pull fi @@ -203,21 +205,19 @@ function setupquestions usersetup setupquestions +apt-get install -y -qq git software-properties-common jq ncurses-bin curl # Ubuntu necesita mas repos grep -q Ubuntu /etc/issue && apt-add-repository multiverse # -add-apt-repository -y ppa:ethereum/ethereum apt update # development tools aptinstall dirmngr apt-transport-https curl git curl build-essential sudo software-properties-common wget -apt-get install -y -qq git software-properties-common jq ncurses-bin curl # golang wget https://golang.org/dl/go1.17.2.linux-amd64.tar.gz rm -rf /usr/local/go tar -C /usr/local -xzf go1.17.2.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin aptinstall jq libjson-perl libwww-perl libclass-accessor-perl -###apt-get install ethereum -y ###geth version userconfig -- GitLab