diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-01-16 13:59:36 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-01-16 13:59:36 +0200 |
commit | 3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2 (patch) | |
tree | c152bd82b0fbb5e573a944534d670a54a5a3bbc6 /src/apk_defines.h | |
parent | 6354a278883161704c7f8650a3bdde77f163c6ad (diff) | |
download | apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.gz apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.bz2 apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.tar.xz apk-tools-3e6fc1389f1cdd06bf18b8fd6cd741c8b9e3e1f2.zip |
add: --upgrade|-u to control if upgrading is preferred or not
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r-- | src/apk_defines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h index 865ec5f..efae83f 100644 --- a/src/apk_defines.h +++ b/src/apk_defines.h @@ -50,7 +50,7 @@ extern csum_t bad_checksum; #define csum_valid(buf) memcmp(buf, bad_checksum, sizeof(csum_t)) #endif -extern int apk_cwd_fd, apk_verbosity, apk_progress; +extern int apk_cwd_fd, apk_verbosity, apk_progress, apk_upgrade; #define apk_error(args...) apk_log("ERROR: ", args); #define apk_warning(args...) if (apk_verbosity > 0) { apk_log("WARNING: ", args); } |