diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-07 11:12:24 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-09 06:08:44 +0000 |
commit | 080fa825ddf932cf95ef38ffa2107e3a99d49610 (patch) | |
tree | 19692ca0e69738437c4b02feb9ee97ec5a77a202 /src/cache.c | |
parent | f1125dfcde748300846f9fba07f29791ec980c1a (diff) | |
download | apk-tools-080fa825ddf932cf95ef38ffa2107e3a99d49610.tar.gz apk-tools-080fa825ddf932cf95ef38ffa2107e3a99d49610.tar.bz2 apk-tools-080fa825ddf932cf95ef38ffa2107e3a99d49610.tar.xz apk-tools-080fa825ddf932cf95ef38ffa2107e3a99d49610.zip |
implement --update-cache option
This will update the repository cache upon db_open.
Diffstat (limited to 'src/cache.c')
-rw-r--r-- | src/cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cache.c b/src/cache.c index 2e9dda7..6efbfe1 100644 --- a/src/cache.c +++ b/src/cache.c @@ -11,6 +11,7 @@ #include <dirent.h> #include <unistd.h> +#include <stdio.h> #include "apk_defines.h" #include "apk_applet.h" |