summaryrefslogtreecommitdiffstats
path: root/src/util/testdb.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-09-21 15:12:10 +0200
committerDan McGee <dan@archlinux.org>2009-09-21 15:12:10 +0200
commit03470c51ca5350567d3ac5fcce2441307f742c84 (patch)
treeecb3e2b23b97fffa213355b90137fb4be3d5290f /src/util/testdb.c
parentece8f6fb0bf73295645a13736b6f8a6bba779242 (diff)
downloadpacman-03470c51ca5350567d3ac5fcce2441307f742c84.tar.gz
pacman-03470c51ca5350567d3ac5fcce2441307f742c84.tar.xz
Allow cache cleaning to process all cache directories
Previously we only looked at the first cache directory returned by the library. This allows us to look at all cache directories for cleaning. In addition, change the way we do a full (-Scc) cache cleaning operation. Instead of removing the parent directory, remove each package one-by-one as in the -Sc case. This would be ideal for someone mounting a cache directory over NFS, as it ensures we don't wipe out the mountpoint from underneath the directory. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/testdb.c')
0 files changed, 0 insertions, 0 deletions