summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-26 08:50:27 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-26 08:50:27 +0000
commitbcfc1244b4114848be3f4cd67099318b6f99413d (patch)
tree4802534be60e533cbcb6c27aefedee22fc5cc2c4 /lib/libalpm/sync.c
parent2e28303ee545077f4f4739426ddb6742116621b9 (diff)
downloadpacman-bcfc1244b4114848be3f4cd67099318b6f99413d.tar.xz
updated comments
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 8a049c74..1d4108dd 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -242,6 +242,9 @@ int sync_commit(pmdb_t *db, pmtrans_t *trans)
}*/
}
+ /* cache needs to be rebuilt */
+ db_free_pkgcache(db);
+
return(0);
}