mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-09 09:33:42 +00:00
scripts/installer.sh: add support for PikaOS (#14461)
Fixes #14460 Signed-off-by: Erisa A <erisa@tailscale.com>
This commit is contained in:
parent
8d4ea4d90c
commit
c4f9f955ab
@ -165,6 +165,19 @@ main() {
|
||||
VERSION="bullseye"
|
||||
fi
|
||||
;;
|
||||
pika)
|
||||
PACKAGETYPE="apt"
|
||||
# All versions of PikaOS are new enough to prefer keyring
|
||||
APT_KEY_TYPE="keyring"
|
||||
# Older versions of PikaOS are based on Ubuntu rather than Debian
|
||||
if [ "$VERSION_ID" -lt 4 ]; then
|
||||
OS="ubuntu"
|
||||
VERSION="$UBUNTU_CODENAME"
|
||||
else
|
||||
OS="debian"
|
||||
VERSION="$DEBIAN_CODENAME"
|
||||
fi
|
||||
;;
|
||||
centos)
|
||||
OS="$ID"
|
||||
VERSION="$VERSION_ID"
|
||||
|
Loading…
x
Reference in New Issue
Block a user