shenshihai 2 anni fa
parent
commit
e82f30c7f7
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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);