diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2007-06-30 00:49:17 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-01 22:31:40 -0400 |
commit | 7a42e24400499873c3b9e1e2315edc808d753734 (patch) | |
tree | 153542ffdf613858f238798ae483200b5da76982 /lib/libalpm/alpm_list.c | |
parent | f55f7f100f650ff040f8721cf761a060af1c05fe (diff) | |
download | pacman-7a42e24400499873c3b9e1e2315edc808d753734.tar.xz |
libalpm/add.c : fix for FS #7484
Adds the ARCHIVE_EXTRACT_NO_OVERWRITE libarchive flags
for extracting files and directories.
This will prevent symlinks for being overwritten by directories.
All other files that need to be extracted should already have
been deleted previously by pacman.
This flag is not used for extracting files in backup array
to /tmp/alpm_XXXX, because this file is created by mkstemp first,
and so needs to be overwritten by the file from the archive.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/alpm_list.c')
0 files changed, 0 insertions, 0 deletions