diff options
author | Xavier Chantry <shiningxc@gmail.com> | 2008-08-17 19:30:36 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-26 01:08:52 +0200 |
commit | 070135626023caa0186a77f9f846c078e3cf1be8 (patch) | |
tree | 94b481f19572ad3d1812fee8cd331c84ccfa0f0e /lib/libalpm/sync.c | |
parent | 9dbe5c9d1ee5fb00f25515dfb5a2feb3ae6ebd59 (diff) | |
download | pacman-070135626023caa0186a77f9f846c078e3cf1be8.tar.gz pacman-070135626023caa0186a77f9f846c078e3cf1be8.tar.xz |
Change checkdeps and checkdbconflicts to be more flexible.
These two functions now take directly a package list rather than a database.
checkdbconflicts was renamed to checkconflicts.
Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 22b391bc..96ca6319 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -630,7 +630,7 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sync } _alpm_log(PM_LOG_DEBUG, "checking dependencies\n"); - deps = alpm_checkdeps(db_local, 1, remove, list); + deps = alpm_checkdeps(_alpm_db_get_pkgcache(db_local), 1, remove, list); if(deps) { pm_errno = PM_ERR_UNSATISFIED_DEPS; ret = -1; |