diff options
author | Chantry Xavier <shiningxc@gmail.com> | 2007-12-05 23:47:54 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-05 19:57:35 -0600 |
commit | c49b2a00d628c2ecb86b3908c1901ab3edee0b1a (patch) | |
tree | 29f5b204e3d39fe40e696e55d0cccba8bee21ea8 /src/pacman/package.c | |
parent | 43eacf2852a15828a4becff74efad04f85305a92 (diff) |
pacman/sync.c : improve the sync db cleanup feature.
This feature (introduced by b118ce55bd01c7ebd42b5b6d4a0f34aa925701d8 as a
part of -Sc) could actually be helpful in the 3.0 -> 3.1 transition, because
all sync dbs will be left in /var/lib/pacman/, while the updated ones will
go to /var/lib/pacman/sync/.
So it'll now clean everything in /var/lib/pacman/, and only the unused
databases in /var/lib/pacman/sync/ (with the exception of local/ and sync/
in both cases).
Note: This feature is undocumented. I wonder if moving it to another option,
something like -S --dbclean, wouldn't help for documenting it.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/package.c')
0 files changed, 0 insertions, 0 deletions