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

Allow deleting target directory before extraction #107

Open
carguel opened this issue May 7, 2015 · 1 comment
Open

Allow deleting target directory before extraction #107

carguel opened this issue May 7, 2015 · 1 comment

Comments

@carguel
Copy link

carguel commented May 7, 2015

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.

carguel added a commit to carguel/ark that referenced this issue Jul 12, 2015
@scalp42
Copy link

scalp42 commented Jul 14, 2015

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants