From: ticktock35 Date: Mon, 15 Dec 2008 05:25:26 +0000 (+0000) Subject: opkg: write the status change after actually updated. X-Git-Url: https://git.librecmc.org/?p=oweals%2Fopkg-lede.git;a=commitdiff_plain;h=b31ae8d2f84b4d663a95334bd5a16a845b8b5d7d;hp=6a36527ec6863a6fe0f4019691fe70d3e78774a5 opkg: write the status change after actually updated. git-svn-id: http://opkg.googlecode.com/svn/trunk@137 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- 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;