update devnet install.sh, add remove 0gchaind binary before install

This commit is contained in:
Solovyov1796 2024-06-20 13:24:43 +08:00
parent 02983a4834
commit 7589e28a5f

View File

@ -13,6 +13,7 @@ if [[ $? -ne 0 ]]; then
# Make under root dir
SCRIPT_DIR=`dirname "${BASH_SOURCE[0]}"`
cd $SCRIPT_DIR/../..
rm -rf $(go env GOPATH)/bin/0gchaind
make install
# Add gopath to path