summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:17:25 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:17:25 (EST)
commit9c42400c43fbdcdb6ca87376d446f15beb8892be (patch)
tree9d19e49dbf7e2bc76667b71912379b834f3c888f
parent42b0e38431bda6d559f6daca7155fb2cf912e5a9 (diff)
opkg: re-read package lists after update
git-svn-id: http://opkg.googlecode.com/svn/trunk@111 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/opkg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopkg/opkg.c b/libopkg/opkg.c
index 1875b13..9b29e68 100644
--- a/libopkg/opkg.c
+++ b/libopkg/opkg.c
@@ -816,6 +816,9 @@ opkg_update_package_lists (opkg_t *opkg, opkg_progress_callback_t progress_callb
free (tmp);
free (lists_dir);
+ /* Now re-read the package lists to update package hash tables. */
+ opkg_re_read_config_files (opkg);
+
return result;
}