summaryrefslogtreecommitdiffstats
path: root/libopkg
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg')
-rw-r--r--libopkg/opkg.c5
1 files changed, 5 insertions, 0 deletions
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;