From 5aac981055ad7fa7008dc10d1cba31a9d8f6350c Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Wed, 11 Oct 2023 20:27:51 -0400 Subject: [PATCH] api: `is_supported_system` add raspberrypi .com variants of the apt repos used by default on PiOS bookworm --- api | 1 + 1 file changed, 1 insertion(+) diff --git a/api b/api index f1d55a8ba6..416e2d79af 100755 --- a/api +++ b/api @@ -2541,6 +2541,7 @@ files_match() { #$1 and $2 are paths to files is_supported_system() { #return 0 if system is supported, otherwise return 1 PRETTY_NAME="$(cat /etc/os-release | grep PRETTY_NAME | tr -d '"' | awk -F= '{print $2}')" local DEFAULT_REPOS="$(apt-get indextargets --no-release-info --format '$(SITE) $(RELEASE) $(TARGET_OF)' | sort -u | awk '{if ($3=="deb") print $1" "$2 }' | grep "raspbian.raspberrypi.org/raspbian\|archive.raspberrypi.org/debian\|\ +raspbian.raspberrypi.com/raspbian\|archive.raspberrypi.com/debian\| debian.org/debian\|security.debian.org/\|\ ports.ubuntu.com\|esm.ubuntu.com/apps/ubuntu\|esm.ubuntu.com/infra/ubuntu\|\ repo.huaweicloud.com/debian\|repo.huaweicloud.com/ubuntu-ports\|\