api: is_supported_system: check for manjaro

pull/953/head
Botspot 3 years ago
parent 39deca6fbc
commit e0377322e4

5
api

@ -405,8 +405,11 @@ is_supported_system() {
elif cat /etc/os-release | grep PRETTY_NAME | tr -d '"' | awk -F= '{print $2}' | grep -qi 'stretch\|wheezy\|jessie';then
echo "Pi-Apps is not supported on your outdated operating system. Expect many apps to fail. Consider upgrading your operating system."
return 1
elif cat /etc/os-release | grep PRETTY_NAME | tr -d '"' | awk -F= '{print $2}' | grep -qi 'manjaro';then
echo "Pi-Apps is not supported on Manjaro."
return 1
elif [[ "$(uname -m)" == armv6* ]];then
echo "Pi-Apps has not been tested on armv6 Raspberry Pi boards. Expect many apps to fail."
echo "Pi-Apps is not supported on ARMv6 Raspberry Pi boards. Expect some apps to fail."
return 1
elif [ "$(id -u)" == 0 ]; then
echo "Pi-Apps is not designed to be run as root user."

Loading…
Cancel
Save