aboutsummaryrefslogtreecommitdiffstats
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-22 21:34:25 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-22 21:34:25 +0300
commit90aaa28a95f28206e6bf4ed0d5a798595165cb8c (patch)
tree67071fbc48be4d3748faf55b5570d197003c4652 /src/apk_defines.h
parent83ae16feb8bb6063ac26eb4cbbc6142bfb4057a4 (diff)
downloadapk-tools-90aaa28a95f28206e6bf4ed0d5a798595165cb8c.tar.gz
apk-tools-90aaa28a95f28206e6bf4ed0d5a798595165cb8c.tar.bz2
apk-tools-90aaa28a95f28206e6bf4ed0d5a798595165cb8c.tar.xz
apk: add --purge option (fixes #61)
and do not remove modified configuration files unless --purge is specified.
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 7e66ada..a7e13f9 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -60,6 +60,7 @@ extern unsigned int apk_flags;
#define APK_PREFER_AVAILABLE 0x0040
#define APK_UPDATE_CACHE 0x0080
#define APK_ALLOW_UNTRUSTED 0x0100
+#define APK_PURGE 0x0200
#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)