diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-11 04:06:21 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-10-13 15:53:18 +0200 |
commit | efbae3cfcbd8e401084cb26853bbe46120daea4d (patch) | |
tree | 9d7ff7e81cc425b0b8fcb9479042c860a559836f /lib/libalpm/be_files.c | |
parent | 522ef5e981580a52ee0ffa37178d7ddf116ebd51 (diff) | |
download | pacman-efbae3cfcbd8e401084cb26853bbe46120daea4d.tar.gz pacman-efbae3cfcbd8e401084cb26853bbe46120daea4d.tar.xz |
Initial hack at a DB operations struct
It doesn't do a whole lot yet, but these type of operations will
potentially be different for the DBs we load.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_files.c')
-rw-r--r-- | lib/libalpm/be_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index 97ba1c8a..5766a4b1 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -367,7 +367,7 @@ int _alpm_db_load_pkgcache(pmdb_t *db) _alpm_log(PM_LOG_DEBUG, "loading package cache for repository '%s'\n", db->treename); - if(_alpm_db_populate(db) == -1) { + if(db->ops->populate(db) == -1) { _alpm_log(PM_LOG_DEBUG, "failed to load package cache for repository '%s'\n", db->treename); return(-1); |