Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/remove.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/remove.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/remove.c')
-rw-r--r--lib/libalpm/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index c04dab69..dfdcabe0 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -158,7 +158,7 @@ int _alpm_remove_prepare(pmtrans_t *trans, pmdb_t *db, alpm_list_t **data)
/* re-order w.r.t. dependencies */
_alpm_log(PM_LOG_DEBUG, "sorting by dependencies\n");
- lp = _alpm_sortbydeps(trans->packages, PM_TRANS_TYPE_REMOVE);
+ lp = _alpm_sortbydeps(trans->packages, 1);
/* free the old alltargs */
alpm_list_free(trans->packages);
trans->packages = lp;