Skip to content

Commit c9c9fb8

Browse files
committed
update script
1 parent a2844a1 commit c9c9fb8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

script/gxchain_testnet_install.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ if [ "$ARCH" == "Linux" ]; then
1111
OS_VERSION=$(lsb_release -a | grep "Release" | sed -e 's/Release:[\t]*//g')
1212
echo "Your OS Version: Ubuntu ${OS_VERSION}"
1313
if [ "$OS_VERSION" = "14.04" ]; then
14-
curl -L 'https://github.com/gxchain/gxb-core/releases/download/testnet-1.0.190311/gxb_1.0.190311-ubuntu-14.04.testnet.tar.gz' -o gxb_1.0.190311-ubuntu-14.04.testnet.tar.gz
15-
tar zxvf gxb_1.0.190311-ubuntu-14.04.testnet.tar.gz
14+
curl -L 'https://github.com/gxchain/gxb-core/releases/download/testnet-1.0.190315/gxb_1.0.190315-ubuntu-14.04.testnet.tar.gz' -o gxb_1.0.190315-ubuntu-14.04.testnet.tar.gz
15+
tar zxvf gxb_1.0.190315-ubuntu-14.04.testnet.tar.gz
1616
else
17-
curl -L 'https://github.com/gxchain/gxb-core/releases/download/testnet-1.0.190311/gxb_1.0.190311-ubuntu-14.04.testnet.tar.gz' -o gxb_1.0.190311-ubuntu-16.04.testnet.tar.gz
18-
tar zxvf gxb_1.0.190311-ubuntu-16.04.testnet.tar.gz
17+
curl -L 'https://github.com/gxchain/gxb-core/releases/download/testnet-1.0.190315/gxb_1.0.190315-ubuntu-14.04.testnet.tar.gz' -o gxb_1.0.190315-ubuntu-16.04.testnet.tar.gz
18+
tar zxvf gxb_1.0.190315-ubuntu-16.04.testnet.tar.gz
1919
fi
2020
elif [ "$ARCH" == "Darwin" ]; then
21-
curl -L 'https://github.com/gxchain/gxb-core/releases/download/testnet-1.0.190311/gxb_1.0.190311-osx.testnet.tar.gz' -o gxb_1.0.190311-osx.testnet.tar.gz
22-
tar zxvf gxb_1.0.190311-osx.testnet.tar.gz
21+
curl -L 'https://github.com/gxchain/gxb-core/releases/download/testnet-1.0.190315/gxb_1.0.190315-osx.testnet.tar.gz' -o gxb_1.0.190315-osx.testnet.tar.gz
22+
tar zxvf gxb_1.0.190315-osx.testnet.tar.gz
2323
else
2424
printf "\\n\\tGXChain core currently supports macOS & Ubuntu Linux only.\\n"
2525
exit 1

0 commit comments

Comments
 (0)