summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:29:40 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:29:40 (EST)
commit1a571f461771e71809af60334d9a4d88b0b7ff8d (patch)
tree59c665370b430bbcc77fea71a841d859fca5b1b9
parentb6a38150404297fd718587d1ffefc160044f2f64 (diff)
opkg: mark the pkg SF as !SF_FILELIST_CHANGED after write back.
git-svn-id: http://opkg.googlecode.com/svn/trunk@158 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/pkg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopkg/pkg.c b/libopkg/pkg.c
index 6c07b84..cc15c9b 100644
--- a/libopkg/pkg.c
+++ b/libopkg/pkg.c
@@ -1808,6 +1808,8 @@ int pkg_write_filelist(opkg_conf_t *conf, pkg_t *pkg)
fclose(data.stream);
free(list_file_name);
+ pkg->state_flag &= ~SF_FILELIST_CHANGED;
+
return err;
}