From d463daddd257ee18b46f8d3e47cf1d293d392cfb Mon Sep 17 00:00:00 2001
From: phahulin
Date: Tue, 24 Oct 2017 16:55:41 +0300
Subject: [PATCH] Update install.sh
---
TestTestNet/netstats-server/install.sh | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/TestTestNet/netstats-server/install.sh b/TestTestNet/netstats-server/install.sh
index 09e58a5..8210129 100644
--- a/TestTestNet/netstats-server/install.sh
+++ b/TestTestNet/netstats-server/install.sh
@@ -100,10 +100,11 @@ echo "===== declare -p:"
declare -p
INSTALL_CONFIG_REPO="https://raw.githubusercontent.com/oraclesorg/test-templates/dev-mainnet/TestTestNet/bootnode"
-GENESIS_REPO_LOC="https://raw.githubusercontent.com/oraclesorg/oracles-scripts/master/spec.json"
+GENESIS_REPO_LOC="https://raw.githubusercontent.com/oraclesorg/oracles-scripts/sokol/spec.json"
GENESIS_JSON="spec.json"
NODE_TOML="node.toml"
BOOTNODES_TXT="https://raw.githubusercontent.com/oraclesorg/test-templates/dev-mainnet/TestTestNet/bootnodes.txt"
+PARITY_DEB_LOC="https://parity-downloads-mirror.parity.io/v1.8.1/x86_64-unknown-linux-gnu/parity_1.8.1_amd64.deb"
echo "===== repo base path: ${INSTALL_CONFIG_REPO}"
@@ -378,11 +379,8 @@ EOF"
use_deb_via_systemd() {
echo "=====> use_deb_via_systemd"
- curl -LO 'http://parity-downloads-mirror.parity.io/v1.7.0/x86_64-unknown-linux-gnu/parity_1.7.0_amd64.deb'
- sudo dpkg -i parity_1.7.0_amd64.deb
-
- #curl -LO 'http://d1h4xl4cr1h0mo.cloudfront.net/nightly/x86_64-unknown-debian-gnu/parity_1.8.0_amd64.deb'
- #sudo dpkg -i parity_1.8.0_amd64.deb
+ curl -LO "${PARITY_DEB_LOC}"
+ sudo dpkg -i "$(basename ${PARITY_DEB_LOC})"
sudo bash -c "cat > /etc/systemd/system/oracles-parity.service <