ark icon indicating copy to clipboard operation
ark copied to clipboard

Allow deleting target directory before extraction

Open carguel opened this issue 10 years ago • 1 comments

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 avatar May 07 '15 18:05 carguel

@burtlo any chance to look at this please?

scalp42 avatar Jul 14 '15 18:07 scalp42