index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-06-03 12:13:22 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-03 12:13:22 -0500 |
commit | 7f98460e37bc032b58ca7c82e70c357aa39370f8 (patch) | |
tree | 386cf7e9cd2045205458d38eeac31a43b98a987b /lib/libalpm/be_sync.c | |
parent | c47d25d74be9ce1fbbfb8577687d9f37ba38d98b (diff) |
-rw-r--r-- | lib/libalpm/be_sync.c | 3 |
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 1d633982..ab0001ec 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -306,8 +306,9 @@ static int sync_db_populate(pmdb_t *db) } pkg->origin = PKG_FROM_SYNCDB; - pkg->ops = &default_pkg_ops; pkg->origin_data.db = db; + pkg->ops = &default_pkg_ops; + pkg->handle = handle; /* add to the collection */ _alpm_log(PM_LOG_FUNCTION, "adding '%s' to package cache for db '%s'\n", |