diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-01-13 11:16:27 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-01-13 11:16:27 +0200 |
commit | 0a7910c144568d8c22a99e359d9c3caf087bc368 (patch) | |
tree | 589c12c1357441ded0ae8f0a3c1b9cfd8a20d0f2 /src/state.c | |
parent | ca364e34e2f8bf60fa413410ac7b82c64e1758b7 (diff) | |
download | apk-tools-0a7910c144568d8c22a99e359d9c3caf087bc368.tar.bz2 apk-tools-0a7910c144568d8c22a99e359d9c3caf087bc368.tar.xz |
state: install packages in dependency order (not reverse)
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index 484d5ee..a07d10b 100644 --- a/src/state.c +++ b/src/state.c @@ -53,7 +53,7 @@ static int apk_state_add_change(struct apk_state *state, return -1; list_init(&change->change_list); - list_add_tail(&change->change_list, &state->change_list_head); + list_add(&change->change_list, &state->change_list_head); change->oldpkg = oldpkg; change->newpkg = newpkg; |