opkg: re-read package lists after update
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 05:17:25 +0000 (05:17 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Mon, 15 Dec 2008 05:17:25 +0000 (05:17 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@111 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/opkg.c

index 1875b132be4c495e5e6a114a845b072965957611..9b29e68032607e93ddf355318d7f83a85c7c4b5b 100644 (file)
@@ -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;
 }