From 28b26ccb533d68d97b654bf317ba097f52659af7 Mon Sep 17 00:00:00 2001 From: Botspot Date: Sun, 22 Aug 2021 22:26:19 -0500 Subject: [PATCH] api: notify x86 users of the x86 pi-apps port --- api | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api b/api index e92cfea..c669241 100755 --- a/api +++ b/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