diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-16 00:29:13 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-16 00:29:13 (EST) |
commit | f3b6367701e4d9062b30f44c18fd867a0c038fde (patch) | |
tree | 5f6e3af49d39f43066c8295d526b20f07acd5379 /libopkg/pkg_hash.c | |
parent | 4260b8f96c594c5653772a8f718e4cdb53a671ce (diff) |
Fix pkg_get_installed_files() to work with an offline_root + dest.
git-svn-id: http://opkg.googlecode.com/svn/trunk@318 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/pkg_hash.c')
-rw-r--r-- | libopkg/pkg_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/pkg_hash.c b/libopkg/pkg_hash.c index 38e3455..ace26bf 100644 --- a/libopkg/pkg_hash.c +++ b/libopkg/pkg_hash.c @@ -644,7 +644,7 @@ int file_hash_set_file_owner(opkg_conf_t *conf, const char *file_name, pkg_t *ow // opkg_message(conf, OPKG_DEBUG2, "owning_pkg=%s filename=%s\n", owning_pkg->name, file_name); hash_table_insert(file_hash, file_name, owning_pkg); if (old_owning_pkg) { - pkg_get_installed_files(old_owning_pkg); + pkg_get_installed_files(conf, old_owning_pkg); str_list_remove_elt(old_owning_pkg->installed_files, file_name); pkg_free_installed_files(old_owning_pkg); /* mark this package to have its filelist written */ |