mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-10 01:53:49 +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"
|
VERSION="bullseye"
|
||||||
fi
|
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)
|
centos)
|
||||||
OS="$ID"
|
OS="$ID"
|
||||||
VERSION="$VERSION_ID"
|
VERSION="$VERSION_ID"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user