rsemcs/scripts/update_modpack.sh

10 lines
312 B
Bash
Raw Normal View History

2022-05-12 09:33:18 +00:00
#!/bin/bash
mkdir temp
cd temp
2022-05-13 07:56:15 +00:00
curl -LOJR https://dev.sys.reslate.xyz/dev-auto/job/ydeng-public/job/rsemcm/job/master/lastSuccessfulBuild/artifact/publish/RSEMCS_server.zip
2022-05-12 09:33:18 +00:00
unzip RSEMCS_server.zip
cd ../
rsync -av --update ./temp/mods/* ./mods/.
rsync -av --ignore-existing ./temp/config ./config/.
2022-05-12 09:33:18 +00:00
rm -r ./temp