summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:25:26 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:25:26 (EST)
commitb31ae8d2f84b4d663a95334bd5a16a845b8b5d7d (patch)
treef741a671517d6f9db2b074a6b3b53fc0fcf689d6
parent6a36527ec6863a6fe0f4019691fe70d3e78774a5 (diff)
opkg: write the status change after actually updated.
git-svn-id: http://opkg.googlecode.com/svn/trunk@137 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-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;