From 9437a634e64072cb7e7202172fb5764f32fed84d Mon Sep 17 00:00:00 2001 From: Andrew Lytvynov Date: Thu, 14 May 2026 14:04:04 -0700 Subject: [PATCH] scripts/installer.sh: handle Zorin OS versions separately from Ubuntu (#19758) Their version scheme is different, even though the OS is based on Ubuntu. We need to check Zorin's version numbers to pick the right APT_KEY_TYPE. Updates #18925 Signed-off-by: Andrew Lytvynov --- scripts/installer.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index 9e0e43363..880c6a438 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -55,7 +55,7 @@ main() { VERSION_MAJOR="${VERSION_ID:-}" VERSION_MAJOR="${VERSION_MAJOR%%.*}" case "$ID" in - ubuntu|pop|neon|zorin|tuxedo) + ubuntu|pop|neon|tuxedo) OS="ubuntu" if [ "${UBUNTU_CODENAME:-}" != "" ]; then VERSION="$UBUNTU_CODENAME" @@ -336,6 +336,16 @@ main() { VERSION="$VERSION_MAJOR" PACKAGETYPE="tdnf" ;; + zorin) + OS="ubuntu" + VERSION="$UBUNTU_CODENAME" + PACKAGETYPE="apt" + if [ "$VERSION_MAJOR" -lt 16 ]; then + APT_KEY_TYPE="legacy" + else + APT_KEY_TYPE="keyring" + fi + ;; steamos) echo "To install Tailscale on SteamOS, please follow the instructions here:" echo "https://github.com/tailscale-dev/deck-tailscale"