Fix fatal error if repository is not modified.
modified libpkg/update.c
@@ -66,7 +66,7 @@ remote_add_indexes(const char *reponame)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -84,15 +84,17 @@ repo_fetch_remote_tmp(const char *reponame, const char *filename, time_t *t)
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -183,8 +185,7 @@ pkg_update(const char *name, const char *packagesite, bool force)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|