summaryrefslogtreecommitdiff
path: root/src/apk_state.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_state.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_state.h')
-rw-r--r--src/apk_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_state.h b/src/apk_state.h
index 42d3f3f..1ac049a 100644
--- a/src/apk_state.h
+++ b/src/apk_state.h
@@ -23,7 +23,8 @@ struct apk_change {
};
struct apk_state {
- unsigned int refs, num_names;
+ unsigned int refs, num_names, num_changes;
+ int print_ok;
struct apk_database *db;
struct list_head change_list_head;
struct apk_package_array *conflicts;