summaryrefslogtreecommitdiffstats
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-07 11:12:24 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-09 06:08:44 +0000
commit080fa825ddf932cf95ef38ffa2107e3a99d49610 (patch)
tree19692ca0e69738437c4b02feb9ee97ec5a77a202 /src/apk_defines.h
parentf1125dfcde748300846f9fba07f29791ec980c1a (diff)
downloadapk-tools-080fa825ddf932cf95ef38ffa2107e3a99d49610.tar.bz2
apk-tools-080fa825ddf932cf95ef38ffa2107e3a99d49610.tar.xz
implement --update-cache option
This will update the repository cache upon db_open.
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r--src/apk_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 09d2a80..755d971 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -46,6 +46,7 @@ extern unsigned int apk_flags;
#define APK_UPGRADE 0x0010
#define APK_RECURSIVE 0x0020
#define APK_PREFER_AVAILABLE 0x0040
+#define APK_UPDATE_CACHE 0x0080
#define apk_error(args...) apk_log("ERROR: ", args);
#define apk_warning(args...) if (apk_verbosity > 0) { apk_log("WARNING: ", args); }