diff options
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/update.c b/src/update.c index aa7bd25..abf4021 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; |