-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Allow deleting target directory before extraction #107
Comments
@burtlo any chance to look at this please? |
dosyfier
added a commit
to dosyfier/ark
that referenced
this issue
May 20, 2020
…x-107 Corrects sous-chefs#107 (Allow deleting target directory before extraction)
dosyfier
added a commit
to dosyfier/ark
that referenced
this issue
May 20, 2020
dosyfier
added a commit
to dosyfier/ark
that referenced
this issue
May 20, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a new version of an archive is extracted, the directory where the previous version is currently installed is not deleted first. Consequently, if some files or directories do not exist anymore in the new archive version, they are still present in the target directory after extraction.Thus, the content of the target directory could not strictly reflect the content of the updated archive.
This issue could be solved by supporting a new boolean attribute (at cookbook level or resource level). When enabled, this attribute would trigger the deletion of the target directory before to perform the extraction.
The text was updated successfully, but these errors were encountered: