diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-08-06 16:00:20 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-08-06 16:00:20 +0300 |
commit | f02f326238fd1e6424bf914e102ce265e7c156ec (patch) | |
tree | ceded7eb995efa68086b613cbc286d198b60da0a /src/apk_defines.h | |
parent | ced1fa83d6361ebfdc40920d98eb292ca4661b4e (diff) | |
download | apk-tools-f02f326238fd1e6424bf914e102ce265e7c156ec.tar.gz apk-tools-f02f326238fd1e6424bf914e102ce265e7c156ec.tar.bz2 apk-tools-f02f326238fd1e6424bf914e102ce265e7c156ec.tar.xz apk-tools-f02f326238fd1e6424bf914e102ce265e7c156ec.zip |
db: prefer local repositories, and implement --no-network
this helps boots sequence when network is not available.
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r-- | src/apk_defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h index 27d4ee4..0ecade4 100644 --- a/src/apk_defines.h +++ b/src/apk_defines.h @@ -63,6 +63,7 @@ extern unsigned int apk_flags; #define APK_PURGE 0x0200 #define APK_INTERACTIVE 0x0400 #define APK_RECURSIVE_DELETE 0x0800 +#define APK_NO_NETWORK 0x1000 #define apk_error(args...) do { apk_log("ERROR: ", args); } while (0) #define apk_warning(args...) do { if (apk_verbosity > 0) { apk_log("WARNING: ", args); } } while (0) |