X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=blobdiff_plain;f=libopkg%2Fopkg.c;h=bb0470d0da439d34c675ea3c58e0b3b74efa1479;hp=8841b50f40fcf53e8f5734a75a15ced90bf9f069;hb=b31ae8d2f84b4d663a95334bd5a16a845b8b5d7d;hpb=6a36527ec6863a6fe0f4019691fe70d3e78774a5 diff --git a/libopkg/opkg.c b/libopkg/opkg.c index 8841b50..bb0470d 100644 --- a/libopkg/opkg.c +++ b/libopkg/opkg.c @@ -656,6 +656,11 @@ opkg_upgrade_package (opkg_t *opkg, const char *package_name, opkg_progress_call err = opkg_configure_packages (opkg->conf, NULL); if (err) return OPKG_UNKNOWN_ERROR; + + /* write out status files and file lists */ + opkg_conf_write_status_files (opkg->conf); + pkg_write_changed_filelists (opkg->conf); + progress (pdata, 100); opkg_package_free (pdata.package); return 0;