ai/at
1
0
This commit is contained in:
2024-10-22 01:59:18 +09:00
parent 8b4b76cbea
commit 93fc7cb355
3 changed files with 28 additions and 8 deletions

View File

@ -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