Added non-packaged plugins & pocketmine warnings

This commit is contained in:
Shoghi Cervantes
2014-04-01 04:59:44 +02:00
parent 207c2c4aba
commit 05a42712bf
5 changed files with 17 additions and 13 deletions

View File

@ -34,10 +34,10 @@ if [ "$PHP_BINARY" == "" ]; then
fi
if [ "$POCKETMINE_FILE" == "" ]; then
if [ -f ./src/PocketMine/PocketMine.php ]; then
POCKETMINE_FILE="./src/pocketmine/PocketMine.php"
elif [ -f ./PocketMine-MP.phar ]; then
if [ -f ./PocketMine-MP.phar ]; then
POCKETMINE_FILE="./PocketMine-MP.phar"
elif [ -f ./src/PocketMine/PocketMine.php ]; then
POCKETMINE_FILE="./src/pocketmine/PocketMine.php"
else
echo "Couldn't find a valid PocketMine-MP installation"
exit 1