Factorize pkg_repo creation
modified libpkg/pkg_config.c
@@ -294,6 +294,7 @@ static bool parsed = false;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -741,16 +742,10 @@ add_repo(ucl_object_t *obj, struct pkg_repo *r, const char *rname)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -889,23 +884,17 @@ load_repositories(const char *repodir)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -1226,6 +1215,22 @@ pkg_configs(struct pkg_config **conf)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|