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