api: notify x86 users of the x86 pi-apps port

pull/931/head
Botspot 4 years ago
parent b45c32ba4e
commit 28b26ccb53

5
api

@ -389,7 +389,7 @@ apt_lock_wait() { #Wait until other apt processes are finished before proceeding
is_supported_system() {
if uname -m | grep -q 'x86' ;then
echo "Pi-Apps is not supported on x86 processors. Expect almost all apps to fail."
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
echo "Pi-Apps is not supported on the outdated $(cat /etc/os-release | grep VERSION_CODENAME | tr -d '"' | awk -F= '{print $2}') operating system. Expect many apps to fail. Consider upgrading your operating system."
@ -397,8 +397,9 @@ is_supported_system() {
elif [[ "$(uname -m)" == armv6* ]];then
echo "Pi-Apps has not been tested on armv6 Raspberry Pi boards. Expect many apps to fail."
return 1
else
return 0
fi
return 0
}
format_log_file() { #remove ANSI escape sequences from a given file, and add OS information to beginning of file

Loading…
Cancel
Save