diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-08-13 14:10:30 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-08-13 14:10:30 +0300 |
commit | 279513bfbe8f0f37c6fb7f38dc331f0290b19b2f (patch) | |
tree | cd6a5aef78391be52fcfb18d95fe6b1ab5ec3f17 /src/state.c | |
parent | b71606dbf42815cc82b5792eb53438673111a4d5 (diff) | |
download | apk-tools-279513bfbe8f0f37c6fb7f38dc331f0290b19b2f.tar.gz apk-tools-279513bfbe8f0f37c6fb7f38dc331f0290b19b2f.tar.bz2 apk-tools-279513bfbe8f0f37c6fb7f38dc331f0290b19b2f.tar.xz apk-tools-279513bfbe8f0f37c6fb7f38dc331f0290b19b2f.zip |
db: implement triggers (fixes #45)
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 4 |
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", |