diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-09 06:24:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-09 06:25:27 +0000 |
commit | fa47cadb98c4fd96e315acb3e96bb2487358f593 (patch) | |
tree | 566a133fbd7d35bb7db9001a5e4c88f84f660412 /src/database.c | |
parent | d931f9fe5c40144ea9488ce5970f16f2de306152 (diff) | |
download | apk-tools-fa47cadb98c4fd96e315acb3e96bb2487358f593.tar.gz apk-tools-fa47cadb98c4fd96e315acb3e96bb2487358f593.tar.bz2 apk-tools-fa47cadb98c4fd96e315acb3e96bb2487358f593.tar.xz apk-tools-fa47cadb98c4fd96e315acb3e96bb2487358f593.zip |
db: removed apk_repository_update_all() as its no longer needed
We use APK_UPDATE_CACHE apk_flag instead.
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/database.c b/src/database.c index 2b20c8f..293af4c 100644 --- a/src/database.c +++ b/src/database.c @@ -1009,17 +1009,6 @@ int apk_repository_update(struct apk_database *db, struct apk_repository *repo) return apk_cache_download(db, repo->url_csum, repo->url, apk_index_gz); } -int apk_repository_update_all(struct apk_database *db) -{ - int i, ret; - for (i = 0; i < db->num_repos; i++) { - ret = apk_repository_update(db, &db->repos[i]); - if (ret < 0) - return ret; - } - return 0; -} - int apk_db_add_repository(apk_database_t _db, apk_blob_t repository) { struct apk_database *db = _db.db; |