Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zippy invocation broken on Linux / Debian 9.11 #174

Open
interone-ms opened this issue Feb 6, 2020 · 1 comment
Open

Zippy invocation broken on Linux / Debian 9.11 #174

interone-ms opened this issue Feb 6, 2020 · 1 comment

Comments

@interone-ms
Copy link

The installer fails to extract the starterkit when running on Linux, tested on Debian 9.11.

Using a load of hacks in debugging I managed to expand the output from failed to extract the starterkit. easiest solution is to manually download it and copy <path>./dist</path to ./source/. to the real error message of Zippy:

Unable to execute the following command '/bin/tar' '--extract' '--file=/tmp/pl-sk/pl-sk-archive.tar.gzpfOkBu' '--overwrite-dir' '--overwrite' '--gzip' '--directory' '/tmp/pl-sk/pl-sk-archive' {output: /bin/tar: '--overwrite' cannot be used with '--overwrite-dir'
Try '/bin/tar --help' or '/bin/tar --usage' for more information.
}

I suggest replacing the Zippy invocation in core/src/PatternLab/Fetch.php with a plain old call to the tar binary. The starterkits are .tar.gz files anyway so there is no need at all for an abstraction library.

@neclimdul
Copy link

It's actually simpler then that and I made a PR #163. I'm just not sure this is still maintained because this fix has been hanging out for years now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants