Do not try to search if no repositories are configured
modified libpkg/pkgdb.c
@@ -3291,6 +3291,11 @@ pkgdb_search(struct pkgdb *db, const char *pattern, match_t match,
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -3308,6 +3313,7 @@ pkgdb_search(struct pkgdb *db, const char *pattern, match_t match,
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified tests/frontend/search.sh
@@ -7,7 +7,7 @@ search_head() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|