mirror of https://github.com/v2ray/v2ray-core
Fix typo
parent
2628fc7cdc
commit
0e12ffd9b6
|
@ -371,11 +371,11 @@ main(){
|
||||||
NEW_VER=`ls /tmp/v2ray |grep v2ray-v |cut -d "-" -f2`
|
NEW_VER=`ls /tmp/v2ray |grep v2ray-v |cut -d "-" -f2`
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# dowload via network and extract
|
# download via network and extract
|
||||||
installSoftware "curl"
|
installSoftware "curl"
|
||||||
getVersion
|
getVersion
|
||||||
if [[ $? == 0 ]] && [[ "$FORCE" != "1" ]]; then
|
if [[ $? == 0 ]] && [[ "$FORCE" != "1" ]]; then
|
||||||
colorEcho ${GREEN} "Lastest version ${NEW_VER} is already installed."
|
colorEcho ${GREEN} "Latest version ${NEW_VER} is already installed."
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
colorEcho ${BLUE} "Installing V2Ray ${NEW_VER} on ${ARCH}"
|
colorEcho ${BLUE} "Installing V2Ray ${NEW_VER} on ${ARCH}"
|
||||||
|
|
Loading…
Reference in New Issue