Imported Upstream version 16.3.2
[platform/upstream/libzypp.git] / zypp / repo / Downloader.cc
index 2f36b03..51ccd37 100644 (file)
@@ -63,7 +63,7 @@ void Downloader::defaultDownloadMasterIndex( MediaSetAccess & media_r, const Pat
 
   if ( repoInfo().repoGpgCheck() )
   {
-    if ( isSigned || repoInfo().repoGpgCheckIsMandatory() )
+    if ( isSigned || !repoInfo().pkgGpgCheck() )
     {
       // only add the signature if it exists
       if ( isSigned )
@@ -83,7 +83,7 @@ void Downloader::defaultDownloadMasterIndex( MediaSetAccess & media_r, const Pat
     }
     else
     {
-      WAR << "Accept unsigned repository because repoGpgCheck is not mandatory for " << repoInfo().alias() << endl;
+      WAR << "Accept unsigned repository because pkgGpgCheck is on for " << repoInfo().alias() << endl;
     }
   }
   else