From cd67f31eb03745b4a8cc42c88083a016688cd231 Mon Sep 17 00:00:00 2001 From: syui Date: Thu, 26 Jun 2025 21:29:00 +0900 Subject: [PATCH] fix --- install.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.zsh b/install.zsh index c0e370c..0d2f2ac 100755 --- a/install.zsh +++ b/install.zsh @@ -63,8 +63,8 @@ function at-repos-clone() { for ((i=1; i<=${#repos}; i++)); do repo=${repos[$i]} echo $repo - if [ -d $d/repos/social-app ];then - rm -rf $d/repos/social-app + if [ -d $d/repos/$repo ] && [ "$repo" = "social-app" ];then + rm -rf $d/repos/$repo fi if [ ! -d $d/repos/${repo##*/} ];then git clone $repo