From 047b324933a58b867e27c7f346b63af4cebedbe0 Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Wed, 1 Mar 2023 14:05:53 -0800 Subject: [PATCH] scripts/installer: add PureOS and Amazon Linux Next Fixes https://github.com/tailscale/tailscale/issues/7410 Signed-off-by: Denton Gentry --- scripts/installer.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index 45dd12d07..e05ed86ba 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -119,6 +119,12 @@ main() { VERSION="bionic" APT_KEY_TYPE="legacy" ;; + pureos) + OS="debian" + PACKAGETYPE="apt" + VERSION="bullseye" + APT_KEY_TYPE="keyring" + ;; raspbian) OS="$ID" VERSION="$VERSION_CODENAME" @@ -347,7 +353,9 @@ main() { fi ;; amazon-linux) - if [ "$VERSION" != "2" ] + if [ "$VERSION" != "2" ] && \ + [ "$VERSION" != "2022" ] && \ + [ "$VERSION" != "2023" ] then OS_UNSUPPORTED=1 fi