Update comments
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
cd1233538d
commit
297e17a93b
|
|
@ -40,8 +40,8 @@ software=(Shadowsocks-Python ShadowsocksR Shadowsocks-Go Shadowsocks-libev)
|
||||||
libsodium_file="libsodium-1.0.16"
|
libsodium_file="libsodium-1.0.16"
|
||||||
libsodium_url="https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz"
|
libsodium_url="https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz"
|
||||||
|
|
||||||
mbedtls_file="mbedtls-2.12.0"
|
mbedtls_file="mbedtls-2.13.0"
|
||||||
mbedtls_url="https://tls.mbed.org/download/mbedtls-2.12.0-gpl.tgz"
|
mbedtls_url="https://tls.mbed.org/download/mbedtls-2.13.0-gpl.tgz"
|
||||||
|
|
||||||
shadowsocks_python_file="shadowsocks-master"
|
shadowsocks_python_file="shadowsocks-master"
|
||||||
shadowsocks_python_url="https://github.com/shadowsocks/shadowsocks/archive/master.zip"
|
shadowsocks_python_url="https://github.com/shadowsocks/shadowsocks/archive/master.zip"
|
||||||
|
|
@ -174,7 +174,7 @@ check_sys(){
|
||||||
if [[ -f /etc/redhat-release ]]; then
|
if [[ -f /etc/redhat-release ]]; then
|
||||||
release="centos"
|
release="centos"
|
||||||
systemPackage="yum"
|
systemPackage="yum"
|
||||||
elif grep -Eqi "debian" /etc/issue; then
|
elif grep -Eqi "debian|raspbian" /etc/issue; then
|
||||||
release="debian"
|
release="debian"
|
||||||
systemPackage="apt"
|
systemPackage="apt"
|
||||||
elif grep -Eqi "ubuntu" /etc/issue; then
|
elif grep -Eqi "ubuntu" /etc/issue; then
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ cur_dir=`pwd`
|
||||||
libsodium_file="libsodium-1.0.16"
|
libsodium_file="libsodium-1.0.16"
|
||||||
libsodium_url="https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz"
|
libsodium_url="https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz"
|
||||||
|
|
||||||
mbedtls_file="mbedtls-2.12.0"
|
mbedtls_file="mbedtls-2.13.0"
|
||||||
mbedtls_url="https://tls.mbed.org/download/mbedtls-2.12.0-gpl.tgz"
|
mbedtls_url="https://tls.mbed.org/download/mbedtls-2.13.0-gpl.tgz"
|
||||||
|
|
||||||
# Stream Ciphers
|
# Stream Ciphers
|
||||||
ciphers=(
|
ciphers=(
|
||||||
|
|
@ -142,7 +142,7 @@ check_sys(){
|
||||||
if [[ -f /etc/redhat-release ]]; then
|
if [[ -f /etc/redhat-release ]]; then
|
||||||
release="centos"
|
release="centos"
|
||||||
systemPackage="yum"
|
systemPackage="yum"
|
||||||
elif grep -Eqi "debian" /etc/issue; then
|
elif grep -Eqi "debian|raspbian" /etc/issue; then
|
||||||
release="debian"
|
release="debian"
|
||||||
systemPackage="apt"
|
systemPackage="apt"
|
||||||
elif grep -Eqi "ubuntu" /etc/issue; then
|
elif grep -Eqi "ubuntu" /etc/issue; then
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ cur_dir=`pwd`
|
||||||
libsodium_file="libsodium-1.0.16"
|
libsodium_file="libsodium-1.0.16"
|
||||||
libsodium_url="https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz"
|
libsodium_url="https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz"
|
||||||
|
|
||||||
mbedtls_file="mbedtls-2.12.0"
|
mbedtls_file="mbedtls-2.13.0"
|
||||||
mbedtls_url="https://tls.mbed.org/download/mbedtls-2.12.0-gpl.tgz"
|
mbedtls_url="https://tls.mbed.org/download/mbedtls-2.13.0-gpl.tgz"
|
||||||
|
|
||||||
# Stream Ciphers
|
# Stream Ciphers
|
||||||
ciphers=(
|
ciphers=(
|
||||||
|
|
@ -136,7 +136,7 @@ check_sys(){
|
||||||
if [[ -f /etc/redhat-release ]]; then
|
if [[ -f /etc/redhat-release ]]; then
|
||||||
release="centos"
|
release="centos"
|
||||||
systemPackage="yum"
|
systemPackage="yum"
|
||||||
elif grep -Eqi "debian" /etc/issue; then
|
elif grep -Eqi "debian|raspbian" /etc/issue; then
|
||||||
release="debian"
|
release="debian"
|
||||||
systemPackage="apt"
|
systemPackage="apt"
|
||||||
elif grep -Eqi "ubuntu" /etc/issue; then
|
elif grep -Eqi "ubuntu" /etc/issue; then
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@ check_sys(){
|
||||||
if [[ -f /etc/redhat-release ]]; then
|
if [[ -f /etc/redhat-release ]]; then
|
||||||
release="centos"
|
release="centos"
|
||||||
systemPackage="yum"
|
systemPackage="yum"
|
||||||
elif grep -Eqi "debian" /etc/issue; then
|
elif grep -Eqi "debian|raspbian" /etc/issue; then
|
||||||
release="debian"
|
release="debian"
|
||||||
systemPackage="apt"
|
systemPackage="apt"
|
||||||
elif grep -Eqi "ubuntu" /etc/issue; then
|
elif grep -Eqi "ubuntu" /etc/issue; then
|
||||||
|
|
@ -80,7 +80,7 @@ check_sys(){
|
||||||
elif grep -Eqi "centos|red hat|redhat" /etc/issue; then
|
elif grep -Eqi "centos|red hat|redhat" /etc/issue; then
|
||||||
release="centos"
|
release="centos"
|
||||||
systemPackage="yum"
|
systemPackage="yum"
|
||||||
elif grep -Eqi "debian" /proc/version; then
|
elif grep -Eqi "debian|raspbian" /proc/version; then
|
||||||
release="debian"
|
release="debian"
|
||||||
systemPackage="apt"
|
systemPackage="apt"
|
||||||
elif grep -Eqi "ubuntu" /proc/version; then
|
elif grep -Eqi "ubuntu" /proc/version; then
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ check_sys(){
|
||||||
if [[ -f /etc/redhat-release ]]; then
|
if [[ -f /etc/redhat-release ]]; then
|
||||||
release="centos"
|
release="centos"
|
||||||
systemPackage="yum"
|
systemPackage="yum"
|
||||||
elif grep -Eqi "debian" /etc/issue; then
|
elif grep -Eqi "debian|raspbian" /etc/issue; then
|
||||||
release="debian"
|
release="debian"
|
||||||
systemPackage="apt"
|
systemPackage="apt"
|
||||||
elif grep -Eqi "ubuntu" /etc/issue; then
|
elif grep -Eqi "ubuntu" /etc/issue; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user