Skip to content

Commit ec7226d

Browse files
committed
update wget url
1 parent b794ec2 commit ec7226d

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

scripts/install.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ def run_cli():
3838
"dump",
3939
message="Do you want to download blockchain's dump? "
4040
"This reduces synchronization time but requires to download a large file",
41-
),
42-
inquirer.Confirm(
43-
"telemetry",
44-
message="Are you agree with sending your node performance statistics?"
4541
)
4642
]
4743

@@ -57,7 +53,6 @@ def parse_args(answers: dict):
5753
archive_ttl = answers["archive-ttl"]
5854
validator_mode = answers["validator-mode"]
5955
dump = answers["dump"]
60-
telemetry = answers["telemetry"]
6156

6257
res = f' -n {network}'
6358

@@ -80,8 +75,6 @@ def parse_args(answers: dict):
8075

8176
if dump:
8277
res += ' -d'
83-
if not telemetry:
84-
res += ' -t'
8578

8679
return res
8780

scripts/install.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ fi
1515
author="ton-blockchain"
1616
repo="mytonctrl"
1717
branch="master"
18-
mode="validator"
1918
network="mainnet"
2019
ton_node_version="master" # Default version
2120

@@ -68,12 +67,11 @@ while getopts ":c:tida:r:b:m:n:v:h" flag; do
6867
done
6968

7069

71-
if (( $# == 0 )); then # no arguments
70+
if [ "${mode}" = "" ]; then # no mode
7271
echo "Running cli installer"
73-
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.py
72+
wget https://raw.githubusercontent.com/${author}/${repo}/${branch}/scripts/install.py
7473
pip3 install inquirer
7574
python3 install.py
76-
# python3 scripts/install.py
7775
exit
7876
fi
7977

0 commit comments

Comments
 (0)