From a93a35eecaf580d97f6a451d7e951be0ff18372c Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Fri, 6 Nov 2009 11:31:03 +0200 Subject: apk: add --never-overwrite flag (ref #197) to never ever overwrite a while in the filesystem the user knows about. it gives the impression of extraction succeeding even though nothing was done. this is inteded to be used only for bootstrapping with overlay. --- src/apk_defines.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/apk_defines.h') diff --git a/src/apk_defines.h b/src/apk_defines.h index a0b297a..c0f4b0f 100644 --- a/src/apk_defines.h +++ b/src/apk_defines.h @@ -64,6 +64,7 @@ extern unsigned int apk_flags; #define APK_INTERACTIVE 0x0400 #define APK_RECURSIVE_DELETE 0x0800 #define APK_NO_NETWORK 0x1000 +#define APK_NEVER_OVERWRITE 0x2000 #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) -- cgit v1.2.3-70-g09d2