summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}