Factorise a bit rcscripts.c
modified libpkg/pkg.h
@@ -280,6 +280,14 @@ typedef enum {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_add.c
@@ -259,7 +259,7 @@ pkg_add(struct pkgdb *db, const char *path, int flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_delete.c
@@ -87,7 +87,7 @@ pkg_delete(struct pkg *pkg, struct pkgdb *db, int flags)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_jobs.c
@@ -249,7 +249,7 @@ pkg_jobs_install(struct pkg_jobs *j)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -271,7 +271,7 @@ pkg_jobs_install(struct pkg_jobs *j)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/private/pkg.h
@@ -174,8 +174,7 @@ int pkg_delete(struct pkg *pkg, struct pkgdb *db, int flags);
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified libpkg/rcscripts.c
@@ -38,7 +38,7 @@ static int rc_stop(const char *);
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -59,40 +59,20 @@ pkg_stop_rc_scripts(struct pkg *pkg)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -109,7 +89,7 @@ rc_stop(const char *rc_file)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|