Updated update_modpack.sh.
This commit is contained in:
parent
4deac63b06
commit
af1dac5246
@ -8,11 +8,7 @@ cd temp
|
|||||||
curl -LOJR https://dev.sys.reslate.xyz/dev-auto/job/ydeng-public/job/rsemcm/job/master/lastSuccessfulBuild/artifact/publish/RSEMCM_server.zip
|
curl -LOJR https://dev.sys.reslate.xyz/dev-auto/job/ydeng-public/job/rsemcm/job/master/lastSuccessfulBuild/artifact/publish/RSEMCM_server.zip
|
||||||
unzip RSEMCM_server.zip
|
unzip RSEMCM_server.zip
|
||||||
cd ../
|
cd ../
|
||||||
rsync -av --update temp/mods/* ./mods/.
|
rm -rf ./mods
|
||||||
|
mv ./temp/mods ./
|
||||||
rsync -av --ignore-existing temp/config ./config/.
|
rsync -av --ignore-existing temp/config ./config/.
|
||||||
rm -r ./temp
|
rm -r ./temp
|
||||||
git add .
|
|
||||||
git commit -a -m "Automatic updating of mods and their configurations."
|
|
||||||
git push
|
|
||||||
cd ../
|
|
||||||
rm -rf update-folder
|
|
Loading…
x
Reference in New Issue
Block a user