triggers: fix execution of per packages triggers on pkg add/register
modified libpkg/pkg_add.c
@@ -1645,8 +1645,7 @@ pkg_add_common(struct pkgdb *db, const char *path, unsigned flags,
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1715,8 +1714,7 @@ pkg_add_common(struct pkgdb *db, const char *path, unsigned flags,
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_delete.c
@@ -103,9 +103,8 @@ pkg_delete(struct pkg *pkg, struct pkg *rpkg, struct pkgdb *db, int flags,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -126,9 +125,8 @@ pkg_delete(struct pkg *pkg, struct pkg *rpkg, struct pkgdb *db, int flags,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_ports.c
@@ -1342,6 +1342,9 @@ pkg_add_port(struct pkgdb *db, struct pkg *pkg, const char *input_path,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1360,6 +1363,9 @@ pkg_add_port(struct pkgdb *db, struct pkg *pkg, const char *input_path,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -913,7 +913,7 @@ void trigger_is_it_a_cleanup(struct triggers *t, const char *path);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/triggers.c
@@ -685,7 +685,7 @@ triggers_load_perpackage(trigger_phase_t phase)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -694,9 +694,6 @@ triggers_execute_perpackage(struct triggers *t, struct pkg *pkg,
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|