Skip to content

Commit 735e78b

Browse files
committed
Add follow redirects flag to curl
1 parent 342bad2 commit 735e78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytoninstaller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def DownloadDump():
327327
os.system(cmd)
328328

329329
# download dump
330-
cmd = "curl -s {url}/dumps/latest.tar.lz | pv | plzip -d -n8 | tar -xC /var/ton-work/db".format(url=url)
330+
cmd = "curl -Ls {url}/dumps/latest.tar.lz | pv | plzip -d -n8 | tar -xC /var/ton-work/db".format(url=url)
331331
os.system(cmd)
332332
#end define
333333

0 commit comments

Comments
 (0)