summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-03-04 08:27:06 +0200
committerTimo Teras <timo.teras@iki.fi>2009-03-04 08:27:06 +0200
commit457943f83e21bde7e6858884d25bc89934344a52 (patch)
tree32d04dd47fe34cb2cfef3541ebaf8b05ab9877d2 /src/apk_defines.h
parentb75ae58b78367ac095d43ab4391c903d0d6b5644 (diff)
downloadapk-tools-457943f83e21bde7e6858884d25bc89934344a52.tar.gz
apk-tools-457943f83e21bde7e6858884d25bc89934344a52.tar.bz2
apk-tools-457943f83e21bde7e6858884d25bc89934344a52.tar.xz
apk-tools-457943f83e21bde7e6858884d25bc89934344a52.zip
apk: --clean-protected option
So you will not get .apk-new files of the new configuration files.
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 efae83f..c27d863 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -51,6 +51,7 @@ extern csum_t bad_checksum;
#endif
extern int apk_cwd_fd, apk_verbosity, apk_progress, apk_upgrade;
+extern int apk_clean;
#define apk_error(args...) apk_log("ERROR: ", args);
#define apk_warning(args...) if (apk_verbosity > 0) { apk_log("WARNING: ", args); }