mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-05 01:29:55 +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 {
|
function download_file {
|
||||||
type wget >> "$DIR/install.log" 2>&1
|
type wget >> "$DIR/install.log" 2>&1
|
||||||
if [ $? -eq 1 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
wget "$1" --no-check-certificate -q -O -
|
wget "$1" --no-check-certificate -q -O -
|
||||||
else
|
else
|
||||||
type curl >> "$DIR/install.log" 2>&1
|
type curl >> "$DIR/install.log" 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user