Clean partial downloads from cache
When using "pacman -Sc" to clean the cache, it make sense to also remove partially downloaded files. Fixes FS#34317. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
dece66ac18
commit
a975523fb9
1 changed files with 1 additions and 3 deletions
|
@ -238,9 +238,7 @@ static int sync_cleancache(int level)
|
||||||
/* skip source packages within the cache directory */
|
/* skip source packages within the cache directory */
|
||||||
"*.src.tar.*",
|
"*.src.tar.*",
|
||||||
/* skip package deltas, we aren't smart enough to clean these yet */
|
/* skip package deltas, we aren't smart enough to clean these yet */
|
||||||
"*.delta",
|
"*.delta"
|
||||||
/* skip any partial downloads */
|
|
||||||
"*.part"
|
|
||||||
};
|
};
|
||||||
size_t j;
|
size_t j;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue