Skip to content

Commit

Permalink
Install script: prettier network names + don't call mainnet a testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperzuk-neti committed Apr 14, 2023
1 parent bba260a commit a043788
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@ else
chain_spec_exists=0
chain_specs="$(jq -r '.assets[] | select(.name | endswith(".raw.json")) | .name' < $release_info)"
while [ "$chain_spec_url" == "null" ]; do
echo "Available testnets: "
echo "Available networks: "
i=0
for spec in $chain_specs; do
echo "$i) $spec"
name="${spec%.raw.json}"
echo "$i) ${name^}"
(( i++ )) || true
done
echo -n "Select number: "
Expand Down

0 comments on commit a043788

Please sign in to comment.