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

Converted system based unzip to php's ZipArchive #242

Merged
merged 1 commit into from
Jan 22, 2019

Conversation

oirad
Copy link

@oirad oirad commented Nov 29, 2018

What does it do ?

I replaced the usage of exec for running unzip on the system with php's native ZipArchive for ModX updates.

Why is it needed ?

When running the modx:upgrade command in linux alpine (and probably other systems as well) I have the following error:

unzip: can't create directory 'modx-2.7.0-pl/./': File exists

Related issue(s)/PR(s)

No related issues

@Mark-H Mark-H merged commit 4d4806e into modmore:master Jan 22, 2019
@Mark-H
Copy link
Member

Mark-H commented Jan 22, 2019

Thanks! :)

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

Successfully merging this pull request may close these issues.

2 participants