Bisa / factorio-init

Factorio init script
MIT License
415 stars 82 forks source link

Install is broken, the file is of type .xz not .gz #108

Closed EraYaN closed 7 years ago

EraYaN commented 7 years ago

This file: http://us1.factorio.com/releases/factorio_headless_x64_0.15.0.tar.xz

Saving to: ‘STDOUT’

-                                                                             0%[                                                                                                                                                                                            ]       0  --.-KB/s
gzip: stdin: not in gzip format
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
-                                                                             0%[                                                                                                                                                                                            ]  42.10K  --.-KB/s    in 0.3s

Cannot write to ‘-’ (Broken pipe).
Install failed!
EraYaN commented 7 years ago

Apparently if you drop the -z in the options, new tars will auto recognize the archive format.

And add -J for the non-file version.

zackbcom commented 7 years ago

This should fix the issue with xz file types.