diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/database.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/database.c b/src/database.c index a5113cd..5dcd9e0 100644 --- a/src/database.c +++ b/src/database.c @@ -2113,6 +2113,7 @@ int apk_db_install_pkg(struct apk_database *db, ipkg->flags |= APK_IPKGF_RUN_ALL_TRIGGERS; if (ipkg->triggers->num != 0) { list_del(&ipkg->trigger_pkgs_list); + list_init(&ipkg->trigger_pkgs_list); apk_string_array_free(&ipkg->triggers); } |