From bcfc1244b4114848be3f4cd67099318b6f99413d Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sat, 26 Mar 2005 08:50:27 +0000 Subject: updated comments --- lib/libalpm/alpm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/libalpm/alpm.c') diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index d4854a3d..41b604ad 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -241,6 +241,9 @@ int alpm_db_update(PM_DB *db, char *archive, char *ts) /* ORE stat() the archive to check it exists */ + /* Cache needs to be rebuild */ + db_free_pkgcache(db); + /* remove the old dir */ _alpm_log(PM_LOG_FLOW2, "removing %s (if it exists)\n", db->path); /* ORE -- cgit v1.2.3