summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.c b/src/state.c
index a33a13e..7a5ab73 100644
--- a/src/state.c
+++ b/src/state.c
@@ -801,8 +801,8 @@ int apk_state_commit(struct apk_state *state,
apk_draw_progress(20, 1);
update_state:
- if (!(apk_flags & APK_SIMULATE))
- apk_db_write_config(db);
+ apk_db_run_triggers(db);
+ apk_db_write_config(db);
if (r == 0)
apk_message("OK: %d packages, %d dirs, %d files",