wordup-dev / wordup-cli

Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
GNU General Public License v3.0
118 stars 16 forks source link

Fix if /var/mail directory exists #29

Closed josepaiva94 closed 4 years ago

josepaiva94 commented 4 years ago

Currently, the script is failing with mkdir: can't create directory '/var/mail': File exists. This is a silent fix.

shry commented 4 years ago

Thanks for the contribution :) Are you running wordup on linux system?

josepaiva94 commented 4 years ago

Yes, I am. However, that's inside the docker image, so why is it related?

shry commented 4 years ago

Because the docker container will only be build on linux systems out of permission issues. And I haven't checked for a while the linux version ;-)

josepaiva94 commented 4 years ago

Right, I was not aware of that (did not check the code, just added the fix). Thanks!