Only fetch remote repositories if needed
modified pkg/update.c
@@ -26,6 +26,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -61,6 +62,8 @@ update_from_remote_repo(const char *name, const char *url)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -74,12 +77,21 @@ update_from_remote_repo(const char *name, const char *url)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -90,7 +102,6 @@ update_from_remote_repo(const char *name, const char *url)
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -184,6 +195,10 @@ exec_update(int argc, char **argv)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -196,6 +211,10 @@ exec_update(int argc, char **argv)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|