Skip to content

Commit 13fb28c

Browse files
committed
Add --compress to curl call and hope Apple doesn't decide to violate more HTTP standards.
1 parent 409ea6c commit 13fb28c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

installinstallmacos.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ def replicate_url(full_url,
261261
options = '-fL'
262262
else:
263263
options = '-sfL'
264-
curl_cmd = ['/usr/bin/curl', options, '--create-dirs',
264+
curl_cmd = ['/usr/bin/curl', options,
265+
'--create-dirs',
266+
'--compressed',
265267
'-o', local_file_path]
266268
if not ignore_cache and os.path.exists(local_file_path):
267269
curl_cmd.extend(['-z', local_file_path])

0 commit comments

Comments
 (0)