Update build.sh
This commit is contained in:
@@ -7,21 +7,21 @@ workdir="$basedir/work"
|
||||
paperbasedir="$basedir/work/Paper"
|
||||
paperworkdir="$basedir/work/Paper/work"
|
||||
|
||||
if [ "$2" == "--setup" ] || [ "$3" == "--setup" ] || [ "$4" == "--setup" ]; then
|
||||
echo "[Akarin] Setup Paper.."
|
||||
(
|
||||
if [ "$2" == "--remote" ] || [ "$3" == "--remote" ] || [ "$4" == "--remote" ]; then
|
||||
cd "$paperworkdir"
|
||||
if [ -d "Minecraft" ]; then
|
||||
rm Minecraft/ -r
|
||||
fi
|
||||
git clone https://github.com/LegacyGamerHD/Minecraft.git
|
||||
fi
|
||||
|
||||
cd "$paperbasedir"
|
||||
./paper jar
|
||||
)
|
||||
fi
|
||||
#if [ "$2" == "--setup" ] || [ "$3" == "--setup" ] || [ "$4" == "--setup" ]; then
|
||||
#echo "[Akarin] Setup Paper.."
|
||||
# (
|
||||
# if [ "$2" == "--remote" ] || [ "$3" == "--remote" ] || [ "$4" == "--remote" ]; then
|
||||
# cd "$paperworkdir"
|
||||
# if [ -d "Minecraft" ]; then
|
||||
# rm Minecraft/ -r
|
||||
# fi
|
||||
# git clone https://github.com/LegacyGamerHD/Minecraft.git
|
||||
# fi
|
||||
#
|
||||
# cd "$paperbasedir"
|
||||
# ./paper jar
|
||||
# )
|
||||
#fi
|
||||
|
||||
echo "[Akarin] Ready to build"
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user