Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-03-16 22:36:31 +0100
committerDan McGee <dan@archlinux.org>2008-03-17 21:01:22 -0500
commite7a2232934e2658c3c7827d2ce706c1a8f5301b9 (patch)
tree79d26379d9be1f1ca606e17d8d2e319b7f1e6985 /lib/libalpm/sync.c
parent73ab153c44a1581b4bcf1e64eb6042b0631c2e66 (diff)
Kill PM_TRANS_TYPE_ADD.
This was totally useless. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 26d1d3ca..ea2d3143 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -443,7 +443,7 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync
}
/* re-order w.r.t. dependencies */
- alpm_list_t *sortlist = _alpm_sortbydeps(list, PM_TRANS_TYPE_ADD);
+ alpm_list_t *sortlist = _alpm_sortbydeps(list, 0);
alpm_list_t *newpkgs = NULL;
for(i = sortlist; i; i = i->next) {
for(j = trans->packages; j; j = j->next) {