Let the rc restart function handle itself, its configuration switch
modified libpkg/pkg_add.c
@@ -953,11 +953,8 @@ pkg_add_cleanup_old(struct pkgdb *db, struct pkg *old, struct pkg *new, int flag
|
|
|
|
|
|
| - | |
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1025,7 +1022,6 @@ pkg_add_common(struct pkgdb *db, const char *path, unsigned flags,
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -1167,9 +1163,7 @@ cleanup_reg:
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/rcscripts.c
@@ -50,6 +50,11 @@ pkg_start_stop_rc_scripts(struct pkg *pkg, pkg_rc_attr attr)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|