summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-01-01 15:48:10 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-01-01 15:48:10 +0200
commit59d222d58c003f4eb564edcc1d01c5b40690938c (patch)
tree1010fc6fff4e752dc7a0dfc468f61a80efe92b09 /src/apk_defines.h
parent0cc41ba4dc47561f8a2299b985be777c2befdb74 (diff)
downloadapk-tools-59d222d58c003f4eb564edcc1d01c5b40690938c.tar.gz
apk-tools-59d222d58c003f4eb564edcc1d01c5b40690938c.tar.bz2
apk-tools-59d222d58c003f4eb564edcc1d01c5b40690938c.tar.xz
apk-tools-59d222d58c003f4eb564edcc1d01c5b40690938c.zip
upgrade: perform upgrade of apk-tools first if available
Also re-exec's apk-tools to perform rest of the upgrade using the new apk-tools. This allows handling of new apk-tools features properly. Fixes #140.
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 6d5f49c..b11d181 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -50,6 +50,7 @@
extern int apk_verbosity;
extern unsigned int apk_flags;
extern const char *apk_arch;
+extern char **apk_argv;
#define APK_FORCE 0x0001
#define APK_SIMULATE 0x0002