Author: dmacvicar Date: Mon Jun 18 23:17:58 2007 New Revision: 5777 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5777&view=rev Log: dont empty the dir if the dir does not need refresh Modified: trunk/libzypp/zypp/RepoManager.cc Modified: trunk/libzypp/zypp/RepoManager.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoManager.cc?rev=5777&r1=5776&r2=5777&view=diff ============================================================================== --- trunk/libzypp/zypp/RepoManager.cc (original) +++ trunk/libzypp/zypp/RepoManager.cc Mon Jun 18 23:17:58 2007 @@ -345,7 +345,8 @@ if ( refresh ) downloader.download(tmpdir.path()); - + else + return; // no error } break; @@ -371,6 +372,8 @@ if ( refresh ) downloader.download(tmpdir.path()); + else + return; // no error } break; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org