mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
Update install-release.sh
This commit is contained in:
parent
ee1a49bf25
commit
e6ac13bf8c
@ -99,6 +99,7 @@ downloadV2Ray(){
|
||||
colorEcho ${RED} "Failed to download! Please check your network or try again."
|
||||
return 3
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
installSoftware(){
|
||||
@ -125,6 +126,7 @@ installSoftware(){
|
||||
colorEcho ${RED} "Install ${COMPONENT} fail, please install it manually."
|
||||
return 2
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
# return 1: not apt or yum
|
||||
@ -138,6 +140,7 @@ getPMT(){
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
@ -149,6 +152,7 @@ extract(){
|
||||
colorEcho ${RED} "Extracting V2Ray failed!"
|
||||
return 2
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
@ -243,6 +247,7 @@ installV2Ray(){
|
||||
colorEcho ${GREEN} "UUID:${UUID}"
|
||||
mkdir -p /var/log/v2ray
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user