From af1dac52462cdd404e02f5f0b7c41104461ce7c7 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 16 May 2022 14:40:16 -0500 Subject: [PATCH] Updated update_modpack.sh. --- scripts/update_modpack.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/update_modpack.sh b/scripts/update_modpack.sh index b2fd507..fec4ca5 100755 --- a/scripts/update_modpack.sh +++ b/scripts/update_modpack.sh @@ -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 unzip RSEMCM_server.zip cd ../ -rsync -av --update temp/mods/* ./mods/. +rm -rf ./mods +mv ./temp/mods ./ rsync -av --ignore-existing temp/config ./config/. -rm -r ./temp -git add . -git commit -a -m "Automatic updating of mods and their configurations." -git push -cd ../ -rm -rf update-folder \ No newline at end of file +rm -r ./temp \ No newline at end of file