Skip to content

Commit

Permalink
api: increase minimum supported versions of debian and ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Oct 11, 2023
1 parent d0c4bb9 commit 054b6cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api
Original file line number Diff line number Diff line change
Expand Up @@ -2555,10 +2555,10 @@ apt.armbian.com")"
elif cat /proc/version | grep -qi Microsoft || cat /proc/sys/kernel/osrelease | grep -qi WSL || [[ -f "/run/WSL" ]] || [[ -f "/etc/wsl.conf" ]] || [ -n "$WSL_DISTRO_NAME" ]; then
echo "Pi-Apps is not supported on WSL."
return 1
elif ([ "$__os_id" == "Debian" ] || [ "$__os_id" == "Raspbian" ]) && ! printf '%s\n' "10" "$__os_release" | sort -CV ; then
elif ([ "$__os_id" == "Debian" ] || [ "$__os_id" == "Raspbian" ]) && ! printf '%s\n' "11" "$__os_release" | sort -CV ; then
echo "Pi-Apps is not supported on your outdated $__os_id $__os_release operating system. Expect many apps to fail. Consider upgrading your operating system."
return 1
elif [ "$__os_id" == "Ubuntu" ] && ! printf '%s\n' "18.04" "$__os_release" | sort -CV ; then
elif [ "$__os_id" == "Ubuntu" ] && ! printf '%s\n' "20.04" "$__os_release" | sort -CV ; then
echo "Pi-Apps is not supported on your outdated $__os_id $__os_release operating system. Expect many apps to fail. Consider upgrading your operating system."
return 1
elif echo "$PRETTY_NAME" | grep -qi 'manjaro'; then
Expand Down

0 comments on commit 054b6cd

Please sign in to comment.