No fileconflict check if DownloadOnly.
authorMichael Andres <ma@suse.de>
Wed, 29 Jan 2014 09:27:19 +0000 (10:27 +0100)
committerMichael Andres <ma@suse.de>
Wed, 29 Jan 2014 09:27:19 +0000 (10:27 +0100)
zypp/target/TargetImpl.cc

index d1fe711..375c0ef 100644 (file)
@@ -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;
          }
        }
       }