mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
such debug. much fix
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user