From fd85af39f9289f48ac348c9b333f885b1e1697b1 Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Mon, 18 Jun 2007 23:01:18 +0000 Subject: [PATCH] - Don't clean the cache, buildCache takes care of it. --- src/zypper-sources.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/zypper-sources.cc b/src/zypper-sources.cc index 9070ea2..f8fe1ef 100644 --- a/src/zypper-sources.cc +++ b/src/zypper-sources.cc @@ -161,13 +161,7 @@ void refresh_repos() //<< "URI: " << it->url() << endl; manager.refreshMetadata(repo); - - if ( manager.isCached(repo ) ) - { - cout_v << _("Cleaning cache...") << endl; - manager.cleanCache(repo); - } - cout_v << _("Parsing repository metadata...") << endl; + cout_v << _("Creating repository cache...") << endl; manager.buildCache(repo); cout << _("DONE") << endl << endl; -- 2.7.4