From: Duncan Mac-Vicar P Date: Mon, 18 Jun 2007 21:17:58 +0000 (+0000) Subject: dont empty the dir if the dir does not need refresh X-Git-Tag: BASE-SuSE-Linux-10_3-Branch~600 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71f3082bb40920835ac78e48c8d3eea56bd9b8f5;p=platform%2Fupstream%2Flibzypp.git dont empty the dir if the dir does not need refresh --- diff --git a/zypp/RepoManager.cc b/zypp/RepoManager.cc index cd3145f..9cace8c 100644 --- a/zypp/RepoManager.cc +++ b/zypp/RepoManager.cc @@ -345,7 +345,8 @@ namespace zypp if ( refresh ) downloader.download(tmpdir.path()); - + else + return; // no error } break; @@ -371,6 +372,8 @@ namespace zypp if ( refresh ) downloader.download(tmpdir.path()); + else + return; // no error } break;