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 <dgentry@tailscale.com>
This commit is contained in:
Denton Gentry 2023-04-19 20:36:23 -07:00 committed by Denton Gentry
parent 7330aa593e
commit c791e64881
1 changed files with 10 additions and 1 deletions

View File

@ -154,6 +154,15 @@ main() {
APT_KEY_TYPE="keyring" APT_KEY_TYPE="keyring"
fi 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) centos)
OS="$ID" OS="$ID"
VERSION="$VERSION_ID" VERSION="$VERSION_ID"
@ -183,7 +192,7 @@ main() {
VERSION="" VERSION=""
PACKAGETYPE="dnf" PACKAGETYPE="dnf"
;; ;;
rocky|almalinux|nobara|openmandriva|sangoma) rocky|almalinux|nobara|openmandriva|sangoma|risios)
OS="fedora" OS="fedora"
VERSION="" VERSION=""
PACKAGETYPE="dnf" PACKAGETYPE="dnf"