diff options
author | Allan McRae <allan@archlinux.org> | 2019-03-02 18:40:19 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-03-07 11:12:12 +1000 |
commit | e7bb0f8824a916c1537dd83735cd8aeccdcd0f3f (patch) | |
tree | b989bc225af94613c4eab48c58b9a1c8242806e8 /src/pacman/sync.c | |
parent | 40391c564a97b10362ee7cbcf07faac03549d2ca (diff) | |
download | pacman-e7bb0f8824a916c1537dd83735cd8aeccdcd0f3f.tar.xz |
Make pacman forget deltas exist
Dummy callbacks are still present to prevent compiler warnings until
libalpm is delta free.
Also remove Delta parsing from pacman.conf.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r-- | src/pacman/sync.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 2406fed5..7dc69079 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -222,9 +222,7 @@ static int sync_cleancache(int level) /* skip package databases within the cache directory */ "*.db*", "*.files*", /* skip source packages within the cache directory */ - "*.src.tar.*", - /* skip package deltas, we aren't smart enough to clean these yet */ - "*.delta" + "*.src.tar.*" }; size_t j; @@ -847,7 +845,6 @@ int sync_prepare_execute(void) case ALPM_ERR_PKG_INVALID: case ALPM_ERR_PKG_INVALID_CHECKSUM: case ALPM_ERR_PKG_INVALID_SIG: - case ALPM_ERR_DLT_INVALID: for(i = data; i; i = alpm_list_next(i)) { char *filename = i->data; printf(_("%s is invalid or corrupted\n"), filename); |