From 8e5efb9f8b37446d01f6fb200db5c0bcba3bc746 Mon Sep 17 00:00:00 2001 From: Sotr Date: Tue, 22 May 2018 23:00:20 +0800 Subject: [PATCH] [Bleeding] TEST --- scripts/build.sh | 5 +---- scripts/inst.sh | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index f826142c1..03903eae2 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -11,15 +11,12 @@ if [ "$2" == "--setup" ] || [ "$3" == "--setup" ] || [ "$4" == "--setup" ]; then echo "[Akarin] Setup Paper.." ( if [ "$2" == "--remote" ] || [ "$3" == "--remote" ] || [ "$4" == "--remote" ]; then - if [ -d "Minecraft" ]; then - rm Minecraft/ -r - fi cd "$paperworkdir" git clone https://github.com/Akarin-project/Minecraft.git fi cd "$paperbasedir" - ./paper jar + ./paper patch ) fi diff --git a/scripts/inst.sh b/scripts/inst.sh index 920fff5aa..c333d9516 100644 --- a/scripts/inst.sh +++ b/scripts/inst.sh @@ -4,7 +4,7 @@ set -e basedir="$pwd" -(git submodule update --init --remote && chmod +x scripts/build.sh && ./scripts/build.sh "$basedir" "$1" "$2") || ( +(git submodule update --init --remote && chmod +x scripts/build.sh && ./scripts/build.sh "$basedir" "$1" "$2" "$3") || ( echo "Failed to build Akarin" exit 1 ) || exit 1