From 313412f83adb6e66ae0c1a0e0d7dd56140e5cff8 Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Wed, 29 Jan 2014 10:27:19 +0100 Subject: [PATCH] No fileconflict check if DownloadOnly. --- zypp/target/TargetImpl.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/zypp/target/TargetImpl.cc b/zypp/target/TargetImpl.cc index d1fe7119f..375c0ef87 100644 --- a/zypp/target/TargetImpl.cc +++ b/zypp/target/TargetImpl.cc @@ -1438,16 +1438,15 @@ namespace zypp } else { - // if cache is preloaded, check for file conflicts - commitFindFileConflicts( policy_r, result ); - if ( ! policy_r.dryRun() ) { + // if cache is preloaded, check for file conflicts + commitFindFileConflicts( policy_r, result ); commit( policy_r, packageCache, result ); } else { - DBG << "dryRun: Not installing/deleting anything." << endl; + DBG << "dryRun/downloadOnly: Not installing/deleting anything." << endl; } } } -- 2.34.1