scripts/installer.sh: add Debian Sid (rolling release)

There is no VERSION_ID.

root@sid:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux bookworm/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Fixes https://github.com/tailscale/tailscale/issues/5522

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
pull/5922/merge
Denton Gentry 2 years ago committed by Denton Gentry
parent 798dba14eb
commit 5677ed1e85

@ -66,7 +66,10 @@ main() {
PACKAGETYPE="apt" PACKAGETYPE="apt"
# Third-party keyrings became the preferred method of # Third-party keyrings became the preferred method of
# installation in Debian 11 (Bullseye). # installation in Debian 11 (Bullseye).
if [ "$VERSION_ID" -lt 11 ]; then if [ -z "${VERSION_ID:-}" ]; then
# rolling release. If you haven't kept current, that's on you.
APT_KEY_TYPE="keyring"
elif [ "$VERSION_ID" -lt 11 ]; then
APT_KEY_TYPE="legacy" APT_KEY_TYPE="legacy"
else else
APT_KEY_TYPE="keyring" APT_KEY_TYPE="keyring"

Loading…
Cancel
Save