Always close stdin when running the script to prevent any interactive script to work during install/delete/upgrade phases
modified libpkg/scripts.c
@@ -139,13 +139,14 @@ pkg_script_run(struct pkg * const pkg, pkg_script type)
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -156,6 +157,9 @@ pkg_script_run(struct pkg * const pkg, pkg_script type)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -164,14 +168,15 @@ pkg_script_run(struct pkg * const pkg, pkg_script type)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
| + | |
|
|
|
|
|