summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/backup.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-09-23 21:43:03 +0200
committerDan McGee <dan@archlinux.org>2007-09-24 03:48:04 +0200
commit843d368ef60a74719dfc74a27de3fe3ef441951f (patch)
treee33e186ecf4ee8e86f31bea9f9aa028b0a362810 /lib/libalpm/backup.c
parent105fd40a4a9b221df0186e7500fe491b3b96d823 (diff)
downloadpacman-843d368ef60a74719dfc74a27de3fe3ef441951f.tar.gz
pacman-843d368ef60a74719dfc74a27de3fe3ef441951f.tar.xz
libalpm/add.c: fix backup array issue
As seen with the recent upgrade of pacman and the removal of the pacman.d/current mirrorlist, files that were formerly in the backup array get deleted upon their removal, which could be dangerous. Instead, we should use the combined backup array of the old and new package. This fix should address this issue in a relatively straightforward way. In addition, old files should be moved to pacsave locations as expected. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/backup.c')
0 files changed, 0 insertions, 0 deletions