diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-30 22:32:43 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-30 22:32:43 +0000 |
commit | 4d21e4f721077387734c8f77017e0dba8a95a14b (patch) | |
tree | d47779158c1dfaacd26cb6bdaedfc109c1eb9f5d /lib/libalpm/add.c | |
parent | b009c5bafa63581a0c590a8c1a1d8dafd5e7654a (diff) |
started the work on "pacman_sync"
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r-- | lib/libalpm/add.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 3b7eca72..286c8f2a 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -101,11 +101,8 @@ int add_loadtarget(pmdb_t *db, pmtrans_t *trans, char *name) _alpm_log(PM_LOG_WARNING, "replacing older version of %s %s by %s in target list", pkg->name, pkg->version, info->version); FREEPKG(j->data); j->data = info; - return(0); - } else { - pm_errno = PM_ERR_TRANS_DUP_TARGET; - goto error; } + return(0); } } |