Create the dirs in cachedir (Fixes issue #24).
modified libpkg/pkg_repo.c
@@ -1,3 +1,5 @@
| + | |
| + | |
|
|
|
|
|
@@ -10,6 +12,7 @@ pkg_repo_fetch(struct pkg *pkg, void *data, fetch_cb cb)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -24,6 +27,14 @@ pkg_repo_fetch(struct pkg *pkg, void *data, fetch_cb cb)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_util.c
@@ -58,6 +58,38 @@ sbuf_free(struct sbuf *buf)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_util.h
@@ -20,6 +20,7 @@ const char * sbuf_get(struct sbuf *);
|
|
|
|
|
|
| + | |
|
|
|
|
|