summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/deps.h
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2015-12-04 20:14:31 +0100
committerAllan McRae <allan@archlinux.org>2015-12-05 08:46:12 +0100
commitbb5e6c3b767e923fdb6cbdd75a930838c9b2a018 (patch)
tree9187320f1fef6a15a85c8225ab7a0fbf0bb6e7dd /lib/libalpm/deps.h
parent8a373096f590925465f624d7b0bf466b02143ce1 (diff)
downloadpacman-bb5e6c3b767e923fdb6cbdd75a930838c9b2a018.tar.gz
pacman-bb5e6c3b767e923fdb6cbdd75a930838c9b2a018.tar.xz
always unlink files before extraction
libarchive will not extract a directory over an existing directory symlink, making it impossible to replace a symlink with a directory across packages. Adding the ARCHIVE_EXTRACT_UNLINK and ARCHIVE_EXTRACT_SECURE_SYMLINKS causes libarchive to unlink the existing symlink and prevents it from extracting any paths that contain a symlink, which we should not be doing anyway. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.h')
0 files changed, 0 insertions, 0 deletions