Fix interrupted updates.
modified libpkg/repo/binary/update.c
@@ -54,8 +54,10 @@ pkg_repo_binary_delete_conflicting(const char *origin, const char *version,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -64,10 +66,12 @@ pkg_repo_binary_delete_conflicting(const char *origin, const char *version,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
|
|
|
|
|
@@ -80,10 +84,14 @@ pkg_repo_binary_delete_conflicting(const char *origin, const char *version,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -589,6 +597,9 @@ pkg_repo_binary_update_incremental(const char *name, struct pkg_repo *repo,
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -656,11 +667,12 @@ pkg_repo_binary_update_incremental(const char *name, struct pkg_repo *repo,
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -737,8 +749,6 @@ cleanup:
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -746,6 +756,13 @@ int
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -806,12 +823,24 @@ pkg_repo_binary_update(struct pkg_repo *repo, bool force)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -832,5 +861,7 @@ cleanup:
|
|
|
|
|
|
| + | |
| + | |
|
|
|