From c3d53b20d0d59d3b444aac71560ef829c953b22b Mon Sep 17 00:00:00 2001 From: mathiascode Date: Thu, 16 Apr 2020 22:17:16 +0300 Subject: [PATCH] Always try to clone schematic repo --- script/reset.sh | 1 + script/schematics.sh | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/reset.sh b/script/reset.sh index 00297df..4c18aa2 100755 --- a/script/reset.sh +++ b/script/reset.sh @@ -7,3 +7,4 @@ rm -rf ~/server/* cp -Tr ~/server-default/ ~/server/ + diff --git a/script/schematics.sh b/script/schematics.sh index 4634ab3..076df8c 100755 --- a/script/schematics.sh +++ b/script/schematics.sh @@ -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"