Add and assert to make sure the type passed to the pkg_script_run is a known type.
modified libpkg/scripts.c
@@ -33,6 +33,7 @@ pkg_script_run(struct pkg * const pkg, pkg_script_t type)
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|