The way it is meant to be worked

This commit is contained in:
Sotr
2018-05-21 23:36:49 +08:00
parent e3367f84fb
commit 2d0af61383

View File

@@ -13,8 +13,9 @@ if [ "$2" == "--setup" ] || [ "$3" == "--setup" ] || [ "$4" == "--setup" ]; then
if [ "$2" == "--remote" ] || [ "$3" == "--remote" ] || [ "$4" == "--remote" ]; then
cd "$paperworkdir"
if [ ! -d "Minecraft" ]; then
git clone https://github.com/Akarin-project/Minecraft.git
rm Minecraft/ -r
fi
git clone https://github.com/Akarin-project/Minecraft.git
fi
cd "$paperbasedir"