index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-04-24 11:14:50 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-04-24 11:14:50 +0000 |
commit | bcd41a4a3d288387ac4eed76a290bc753ad1f489 (patch) | |
tree | 675bc9c1073d542bc013b7a17edd29cf37eb8291 /lib/libalpm/add.c | |
parent | e1c7d79ecb84f500c5dfbb4d4bd4f9885e9bb783 (diff) |
-rw-r--r-- | lib/libalpm/add.c | 7 |
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 12546c8e..e3efbd1c 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -97,8 +97,6 @@ int add_loadtarget(pmtrans_t *trans, pmdb_t *db, char *name) /* check if an older version of said package is already in transaction packages. * if so, replace it in the list */ - /* ORE - we'd better do it before load_pkg. */ for(j = trans->packages; j; j = j->next) { pmpkg_t *pkg = j->data; @@ -386,14 +384,9 @@ int add_commit(pmtrans_t *trans, pmdb_t *db) continue; } - /* ORE - same thing here: we should browse the cache instead of using db_scan */ depinfo = db_get_pkgfromcache(db, depend.name); if(depinfo == NULL) { /* look for a provides package */ - /* ORE - _alpm_db_whatprovides() should return a list of pointer to pkg from the - cache, thus eliminating the need for db_scan(DEPENDS) */ PMList *provides = _alpm_db_whatprovides(db, depend.name); if(provides) { /* TODO: should check _all_ packages listed in provides, not just |