From c791e648818d2f07ff052fb8b21c5b7eb01eb09e Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Wed, 19 Apr 2023 20:36:23 -0700 Subject: [PATCH] scripts/installer: add Deepin, RisiOS. Fixes https://github.com/tailscale/tailscale/issues/7862 Fixes https://github.com/tailscale/tailscale/issues/7899 Signed-off-by: Denton Gentry --- scripts/installer.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index 0fb2d89a5..5ae0a2f69 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -154,6 +154,15 @@ main() { APT_KEY_TYPE="keyring" fi ;; + Deepin) # https://github.com/tailscale/tailscale/issues/7862 + OS="debian" + PACKAGETYPE="apt" + if [ "$VERSION_ID" -lt 20 ]; then + APT_KEY_TYPE="legacy" + else + APT_KEY_TYPE="keyring" + fi + ;; centos) OS="$ID" VERSION="$VERSION_ID" @@ -183,7 +192,7 @@ main() { VERSION="" PACKAGETYPE="dnf" ;; - rocky|almalinux|nobara|openmandriva|sangoma) + rocky|almalinux|nobara|openmandriva|sangoma|risios) OS="fedora" VERSION="" PACKAGETYPE="dnf"