Skip to content

Commit b9d5937

Browse files
authored
Merge pull request #156 from sonofmom/master
Add follow redirects flag to curl
2 parents 342bad2 + 735e78b commit b9d5937

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)