unpack: don't overwrite files by default.
--HG-- extra : convert_revision : 874850b5d5adbb570c93e963c6c0a4504cbd8c80
This commit is contained in:
parent
82b01212ad
commit
ee73775ed5
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ unpack_archive_init(prop_dictionary_t pkg, const char *destdir,
|
|||
*/
|
||||
#define EXTRACT_FLAGS ARCHIVE_EXTRACT_SECURE_NODOTDOT | \
|
||||
ARCHIVE_EXTRACT_SECURE_SYMLINKS | \
|
||||
ARCHIVE_EXTRACT_UNLINK
|
||||
ARCHIVE_EXTRACT_UNLINK | ARCHIVE_EXTRACT_NO_OVERWRITE
|
||||
#define FEXTRACT_FLAGS ARCHIVE_EXTRACT_OWNER | ARCHIVE_EXTRACT_PERM | \
|
||||
ARCHIVE_EXTRACT_TIME | EXTRACT_FLAGS
|
||||
|
||||
|
|
Loading…
Reference in a new issue