mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
747 B
22 lines
747 B
#!/usr/bin/env bash |
|
|
|
# This file is accessible as https://install.direct/go.sh |
|
# Original source is located at github.com/v2fly/v2ray-core/release/install-release.sh |
|
|
|
# If not specify, default meaning of return value: |
|
# 0: Success |
|
# 1: System error |
|
# 2: Application error |
|
# 3: Network error |
|
|
|
#######color code######## |
|
RED="31m" # Error message |
|
YELLOW="33m" # Warning message |
|
colorEcho(){ |
|
echo -e "\033[${1}${@:2}\033[0m" 1>& 2 |
|
} |
|
|
|
colorEcho ${RED} "ERROR: This script has been DISCARDED, please switch to fhs-install-v2ray project." |
|
colorEcho ${YELLOW} "HOW TO USE: https://github.com/v2fly/fhs-install-v2ray" |
|
colorEcho ${YELLOW} "TO MIGRATE: https://github.com/v2fly/fhs-install-v2ray/wiki/Migrate-from-the-old-script-to-this" |
|
exit 255
|
|
|