From fa47cadb98c4fd96e315acb3e96bb2487358f593 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 9 Jul 2009 06:24:12 +0000 Subject: db: removed apk_repository_update_all() as its no longer needed We use APK_UPDATE_CACHE apk_flag instead. --- src/update.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/update.c') diff --git a/src/update.c b/src/update.c index aa7bd25eb4..abf4021deb 100644 --- a/src/update.c +++ b/src/update.c @@ -19,10 +19,9 @@ static int update_main(void *ctx, int argc, char **argv) { struct apk_database db; + apk_flags |= APK_UPDATE_CACHE; if (apk_db_open(&db, apk_root, APK_OPENF_READ) < 0) return -1; - - apk_repository_update_all(&db); apk_db_close(&db); return 0; -- cgit v1.2.3