summaryrefslogtreecommitdiff
path: root/lib/libalpm/trans.c
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2007-04-04 00:30:14 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2007-04-04 00:30:14 -0500
commit76f816b9f764434d02e90207ee4656ebae2b6a8c (patch)
treeb115bfcb7322e63698cae0ffc9fd945d8fee2585 /lib/libalpm/trans.c
parent9c9e18ef32c0cf3fe33ed251d28c70651bb85f65 (diff)
downloadpacman-76f816b9f764434d02e90207ee4656ebae2b6a8c.tar.xz
Backport changes from 3.0.1
* Align makepkg -g checksums (Tom Killian <tom@archlinux.org>) * Use additional case-sensitive string compare to defeat locale issues (tr_TR) * Added Russian mirror * Fix a -R failure when trying to remove the same target twice * Bump configure.ac version to 3.0.1 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r--lib/libalpm/trans.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index 1198292f..009ec7f1 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -135,7 +135,8 @@ int _alpm_trans_addtarget(pmtrans_t *trans, char *target)
ASSERT(target != NULL, RET_ERR(PM_ERR_WRONG_ARGS, -1));
if(alpm_list_find_str(trans->targets, target)) {
- RET_ERR(PM_ERR_TRANS_DUP_TARGET, -1);
+ return(0);
+ //RET_ERR(PM_ERR_TRANS_DUP_TARGET, -1);
}
switch(trans->type) {