Skip to content

Commit

Permalink
scripts/installer: add PureOS and Amazon Linux Next
Browse files Browse the repository at this point in the history
Fixes tailscale#7410

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
  • Loading branch information
DentonGentry authored and darksip committed Apr 3, 2023
1 parent f681e0d commit 5e75c98
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -347,7 +353,9 @@ main() {
fi
;;
amazon-linux)
if [ "$VERSION" != "2" ]
if [ "$VERSION" != "2" ] && \
[ "$VERSION" != "2022" ] && \
[ "$VERSION" != "2023" ]
then
OS_UNSUPPORTED=1
fi
Expand Down

0 comments on commit 5e75c98

Please sign in to comment.