From aa277d0718a9e11f52dfd8acd6132ad39a6601aa Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sat, 4 Aug 2018 17:03:34 +0900 Subject: [PATCH] Update comments Added support Raspbian system Signed-off-by: Teddysun --- shadowsocks-all.sh | 2 +- shadowsocks-go.sh | 2 +- shadowsocks-libev-debian.sh | 2 +- shadowsocks-libev.sh | 2 +- shadowsocksR.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/shadowsocks-all.sh b/shadowsocks-all.sh index 10eeeaf..3cce3a6 100644 --- a/shadowsocks-all.sh +++ b/shadowsocks-all.sh @@ -183,7 +183,7 @@ check_sys(){ elif grep -Eqi "centos|red hat|redhat" /etc/issue; then release="centos" systemPackage="yum" - elif grep -Eqi "debian" /proc/version; then + elif grep -Eqi "debian|raspbian" /proc/version; then release="debian" systemPackage="apt" elif grep -Eqi "ubuntu" /proc/version; then diff --git a/shadowsocks-go.sh b/shadowsocks-go.sh index e91458c..1317a8e 100644 --- a/shadowsocks-go.sh +++ b/shadowsocks-go.sh @@ -63,7 +63,7 @@ check_sys(){ elif grep -Eqi "centos|red hat|redhat" /etc/issue; then release="centos" systemPackage="yum" - elif grep -Eqi "debian" /proc/version; then + elif grep -Eqi "debian|raspbian" /proc/version; then release="debian" systemPackage="apt" elif grep -Eqi "ubuntu" /proc/version; then diff --git a/shadowsocks-libev-debian.sh b/shadowsocks-libev-debian.sh index 003f7d4..64759b5 100644 --- a/shadowsocks-libev-debian.sh +++ b/shadowsocks-libev-debian.sh @@ -151,7 +151,7 @@ check_sys(){ elif grep -Eqi "centos|red hat|redhat" /etc/issue; then release="centos" systemPackage="yum" - elif grep -Eqi "debian" /proc/version; then + elif grep -Eqi "debian|raspbian" /proc/version; then release="debian" systemPackage="apt" elif grep -Eqi "ubuntu" /proc/version; then diff --git a/shadowsocks-libev.sh b/shadowsocks-libev.sh index 46bfdb9..5be1446 100644 --- a/shadowsocks-libev.sh +++ b/shadowsocks-libev.sh @@ -145,7 +145,7 @@ check_sys(){ elif grep -Eqi "centos|red hat|redhat" /etc/issue; then release="centos" systemPackage="yum" - elif grep -Eqi "debian" /proc/version; then + elif grep -Eqi "debian|raspbian" /proc/version; then release="debian" systemPackage="apt" elif grep -Eqi "ubuntu" /proc/version; then diff --git a/shadowsocksR.sh b/shadowsocksR.sh index 5f022d5..30ddced 100644 --- a/shadowsocksR.sh +++ b/shadowsocksR.sh @@ -112,7 +112,7 @@ check_sys(){ elif grep -Eqi "centos|red hat|redhat" /etc/issue; then release="centos" systemPackage="yum" - elif grep -Eqi "debian" /proc/version; then + elif grep -Eqi "debian|raspbian" /proc/version; then release="debian" systemPackage="apt" elif grep -Eqi "ubuntu" /proc/version; then