summaryrefslogtreecommitdiff
path: root/proto.install
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-10-10 03:11:27 +1000
committerDan McGee <dan@archlinux.org>2010-03-14 19:12:24 -0500
commit2f4ee4341d1f97d95a99147556888212d1cd4507 (patch)
tree28c58cae497b6992f99ffb8af22dcd85cc6ef9e3 /proto.install
parent69b3a811a138a84aa09e8e81b2912f6fcd0b47b9 (diff)
Only extract new DB entries
This implements FS#15198. The idea apparently came from Csaba Henk <csaba-ml <at> creo.hu> which submitted a patch to Frugalware, so thanks to him, even though I did not look at the code :) The idea is to only extract folders for new packages into the package database and clean up the old directories. This is essentially implementing Xyne's "rebase" script within pacman. If using -Syy, just remove and extract everything. If using -Sy : 1. Generate list of directories in DB 2. Generate list of directories in archive 3. Compare both 4. Clean up old directories 5. Extract new directories Original-work-by: Allan McRae <allan@archlinux.org> Signed-off-by: Xavier Chantry <shiningxc@gmail.com> [Dan: fix compile error, s/int/size_t/] Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'proto.install')
0 files changed, 0 insertions, 0 deletions