add Raspbian support

This commit is contained in:
Jrohy
2019-03-27 19:27:53 +08:00
parent 0550b0e5bd
commit d53b18de07

View File

@@ -71,6 +71,9 @@ checkSys() {
elif [[ $(cat /etc/issue | grep Ubuntu) ]];then
OS='Ubuntu'
PACKAGE_MANAGER='apt-get'
elif [[ $(cat /etc/issue | grep Raspbian) ]];then
OS='Raspbian'
PACKAGE_MANAGER='apt-get'
else
colorEcho ${RED} "Not support OS, Please reinstall OS and retry!"
exit 1