mirror of
https://github.com/Jrohy/python3-install.git
synced 2026-04-03 03:08:18 +00:00
add Raspbian support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user