From 93fc7cb355407c48733d90221673709b0d16d165 Mon Sep 17 00:00:00 2001 From: syui Date: Tue, 22 Oct 2024 01:59:18 +0900 Subject: [PATCH] fix --- build.sh | 32 ++++++++++++++++++++++++++------ repos/atproto | 2 +- repos/social-app | 2 +- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/build.sh b/build.sh index c50506f..8ecc4d0 100755 --- a/build.sh +++ b/build.sh @@ -2,9 +2,29 @@ d=${0:a:h} cd $d/repos -git clone https://github.com/bluesky-social/atproto -git clone https://github.com/did-method-plc/did-method-plc -git clone https://github.com/bluesky-social/feed-generator -git clone https://github.com/bluesky-social/social-app -git clone https://github.com/bluesky-social/cookbook -git clone https://github.com/itaru2622/bluesky-selfhost-env + +t=" +https://github.com/bluesky-social/atproto +https://github.com/did-method-plc/did-method-plc +https://github.com/bluesky-social/feed-generator +https://github.com/bluesky-social/social-app +https://github.com/bluesky-social/cookbook +https://github.com/itaru2622/bluesky-selfhost-env +" + +t=`echo $t|grep -v '^$'` +n=`echo $t|wc -l` + +for ((i=1;i<=$n;i++)) +do + tt=`echo $t|awk "NR==$i"` + dd=$d/repos/$tt:t + if [ -d $dd ];then + echo ok + cd $dd + git pull + cd $d/repos + else + git clone $tt + fi +done diff --git a/repos/atproto b/repos/atproto index 7f26b17..8f2b80a 160000 --- a/repos/atproto +++ b/repos/atproto @@ -1 +1 @@ -Subproject commit 7f26b176526b9856a8f61faca6f065f0afd43abf +Subproject commit 8f2b80a0dcf118652452ea09764a947b09991e0f diff --git a/repos/social-app b/repos/social-app index fd2e94f..f6649e2 160000 --- a/repos/social-app +++ b/repos/social-app @@ -1 +1 @@ -Subproject commit fd2e94f3534ea459b08a4d6b9a6f0aaccfd2445e +Subproject commit f6649e22a762fa8f4d3060da0a274f3b83ecb06f