Always try to clone schematic repo
This commit is contained in:
parent
a6132fe8ab
commit
c3d53b20d0
2 changed files with 2 additions and 2 deletions
|
@ -7,3 +7,4 @@
|
|||
|
||||
rm -rf ~/server/*
|
||||
cp -Tr ~/server-default/ ~/server/
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue