This repository was archived by the owner on Jan 9, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
CHANNEL=" stable"
4
+ BRANCH=" php7"
4
5
NAME=" PocketMine-MP"
5
6
6
7
LINUX_32_BUILD=" PHP_5.7.0RC2_x86_Linux"
@@ -198,14 +199,14 @@ if ! [ -s "$NAME.phar" ] || [ "$(head -n 1 $NAME.phar)" == '<!DOCTYPE html>' ];
198
199
exit 1
199
200
else
200
201
if [ " $CHANNEL " == " soft" ]; then
201
- download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-Soft/master /resources/start.sh" > start.sh
202
+ download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-Soft/${BRANCH} /resources/start.sh" > start.sh
202
203
else
203
- download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-MP/master /start.sh" > start.sh
204
+ download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-MP/${BRANCH} /start.sh" > start.sh
204
205
fi
205
- download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-MP/master /LICENSE" > LICENSE
206
- download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-MP/master /README.md" > README.md
207
- download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-MP/master /CONTRIBUTING.md" > CONTRIBUTING.md
208
- download_file " https://raw.githubusercontent.com/PocketMine/php-build-scripts/master /compile.sh" > compile.sh
206
+ download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-MP/${BRANCH} /LICENSE" > LICENSE
207
+ download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-MP/${BRANCH} /README.md" > README.md
208
+ download_file " https://raw.githubusercontent.com/PocketMine/PocketMine-MP/${BRANCH} /CONTRIBUTING.md" > CONTRIBUTING.md
209
+ download_file " https://raw.githubusercontent.com/PocketMine/php-build-scripts/${BRANCH} /compile.sh" > compile.sh
209
210
fi
210
211
211
212
chmod +x compile.sh
You can’t perform that action at this time.
0 commit comments