From f76e656f779b37a7dc2b3153e90a9fbc3031b8ab Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Thu, 8 Sep 2022 19:50:37 +0800 Subject: [PATCH] rsync include public/vendor --- nexus/Install/Update.php | 1 + 1 file changed, 1 insertion(+) diff --git a/nexus/Install/Update.php b/nexus/Install/Update.php index 5dc5d344..54ff934a 100644 --- a/nexus/Install/Update.php +++ b/nexus/Install/Update.php @@ -386,6 +386,7 @@ class Update extends Install } // $command = sprintf('cp -raf %s/. %s', $path, ROOT_PATH); $command = "rsync -rvq $path/ " . ROOT_PATH; + $command .= " --include=public/vendor"; foreach ($excludes as $exclude) { $command .= " --exclude=$exclude"; }