From b31ae8d2f84b4d663a95334bd5a16a845b8b5d7d Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Mon, 15 Dec 2008 00:25:26 -0500 Subject: opkg: write the status change after actually updated. git-svn-id: http://opkg.googlecode.com/svn/trunk@137 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg') 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; -- cgit v0.9.1