shenshihai před 2 roky
rodič
revize
e82f30c7f7
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/PackageClass.php

+ 2 - 0
src/PackageClass.php

@@ -374,6 +374,7 @@ class PackageClass
 			}
 			if(!$fileInfo['override'] && file_exists($targetPath)){
 				logInfo($repoName,"skip copy config file",$targetPath);
+				continue;
 			}
 			$targetPath = pathJoin($configDir,$targetName);
 			if(! fileCopy($filePath,$targetPath) ){
@@ -404,6 +405,7 @@ class PackageClass
 			}
 			if(!$fileInfo['override'] && file_exists($targetPath)){
 				logInfo("skip copy file, file already exists",$targetPath);
+				continue;
 			}
 			if( filedirCopy($filePath,$targetPath) ){
 				logInfo("succeeded to copy file",$fileName," -> ",$targetName);