Update ScriptHandler to support symlinks #549
Labels
ScriptHandler
State: Done
The issue is complete and waiting for a release
Type: Feature
Issue is a new feature request
We use docker-project in our single command rollout of new projects. The /sites/default/files directory is created by the ScriptHandler and afterward the /sites/default/files directory is then symlinked by wodby for use with docker.
This is all working fine, the problem comes with the post-update-cmd and post-install-cmd events. They are run multiple times during our creation process and createRequiredFiles check if the /sites/default/files directory exists every times. Which causes an exception because it doesn't exist it is actually a symlink now.
I would love to fix this problem and I have come up with 2 solutions:
How do you feel about this?
The text was updated successfully, but these errors were encountered: