state: install packages in dependency order (not reverse)

cute-signatures
Timo Teras 2009-01-13 11:16:27 +02:00
parent ca364e34e2
commit 0a7910c144
1 changed files with 1 additions and 1 deletions

View File

@ -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;