From 59d222d58c003f4eb564edcc1d01c5b40690938c Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Sat, 1 Jan 2011 15:48:10 +0200 Subject: 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. --- src/apk_state.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/apk_state.h') 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; -- cgit v1.2.3-70-g09d2