From a4e0bc670928f2ba5c4ab1e974cd71abc31f6739 Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Fri, 29 Sep 2023 13:54:27 +0800 Subject: [PATCH] improve install createSymbolicLinks() --- include/constants.php | 4 ++-- nexus/Install/Install.php | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/include/constants.php b/include/constants.php index b603f0b7..93f8b677 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@ doLog("path: $linkName already exits, try to delete it, delResult: " . var_export($delResult, true)); + } + if (is_dir($linkName)) { $this->doLog("path: $linkName already exits, skip create symbolic link $linkName -> $path"); continue; }