api: is_supported_system: check for i686

pull/936/head
Botspot 3 years ago
parent 27e744e05f
commit abebe5642c

2
api

@ -393,7 +393,7 @@ apt_lock_wait() { #Wait until other apt processes are finished before proceeding
}
is_supported_system() {
if uname -m | grep -q 'x86' ;then
if uname -m | grep -q 'x86' || uname -m | grep -q 'i686' || uname -m | grep -q 'i386';then
echo "Pi-Apps is not supported on x86 processors. Expect almost all apps to fail. Consider switching to this x86 port of Pi-Apps: https://github.com/MCRaspRBX/pi-apps-x86"
return 1
elif [[ "$(cat /etc/os-release | grep VERSION_CODENAME | tr -d '"' | awk -F= '{print $2}')" == @(stretch|wheezy|jessie) ]];then

Loading…
Cancel
Save