mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 11:18:52 +00:00
such debug. much fix
This commit is contained in:
parent
13bf17925f
commit
b7c0e08b7d
@ -26,7 +26,7 @@ type getconf >> "$DIR/install.log" 2>&1 || { echo >&2 "[ERROR] Please install \"
|
||||
|
||||
function download_file {
|
||||
type wget >> "$DIR/install.log" 2>&1
|
||||
if [ $? -eq 1 ]; then
|
||||
if [ $? -eq 0 ]; then
|
||||
wget "$1" --no-check-certificate -q -O -
|
||||
else
|
||||
type curl >> "$DIR/install.log" 2>&1
|
||||
|
Loading…
x
Reference in New Issue
Block a user