opkg: re-read package lists after update
[oweals/opkg-lede.git] / 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;
 }