This commit is contained in:
Jrohy
2019-05-18 00:30:34 +08:00

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