Always try to clone schematic repo

This commit is contained in:
mathiascode 2020-04-16 22:17:16 +03:00
parent a6132fe8ab
commit c3d53b20d0
2 changed files with 2 additions and 2 deletions

View file

@ -7,3 +7,4 @@
rm -rf ~/server/*
cp -Tr ~/server-default/ ~/server/

View file

@ -5,9 +5,8 @@
set -x
git clone git@github.com:kaboomserver/schematics.git ~/server/plugins/FastAsyncWorldEdit/schematics/
while true; do
git clone git@github.com:kaboomserver/schematics.git ~/server/plugins/FastAsyncWorldEdit/schematics/
cd ~/server/plugins/FastAsyncWorldEdit/schematics/
if [ "$(git add $(git ls-files -o) -v)" ]; then
git -c user.name='kaboom' -c user.email='kaboom.pw' commit -m "Add new schematics"