mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-29 14:49:59 +00:00
Update installer.sh
This commit is contained in:
parent
59392ac4e9
commit
46464eb504
@ -70,7 +70,7 @@ rm -f start.bat
|
||||
echo "[2/3] Downloading PocketMine-MP $PMMP_VERSION..."
|
||||
set +e
|
||||
download_file "https://github.com/PocketMine/PocketMine-MP/releases/download/$PMMP_VERSION/PocketMine-MP.phar" > PocketMine-MP.phar
|
||||
if ! [ -s "PocketMine-MP.phar" ]; then
|
||||
if ! [ -s "PocketMine-MP.phar" ] || [ "$(cat PocketMine-MP.phar)" == "" ]; then
|
||||
rm "PocketMine-MP.phar" > /dev/null
|
||||
download_file "https://github.com/PocketMine/PocketMine-MP/archive/$PMMP_VERSION.tar.gz" | tar -zx > /dev/null
|
||||
COMPILE_SCRIPT="./src/build/compile.sh"
|
||||
|
Loading…
x
Reference in New Issue
Block a user