From db7da6622a2cf9408b62164606c6697da7996c40 Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Sat, 16 Apr 2022 15:55:00 -0700 Subject: [PATCH] scripts/installer: add ParrotOS support Support ParrotSec https://parrotsec.org/ Tested using a Parrot 5.0 VM. Updates https://github.com/tailscale/tailscale/issues/2915 Signed-off-by: Denton Gentry --- scripts/installer.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/installer.sh b/scripts/installer.sh index 0162216f3..ad62b43f0 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -72,6 +72,17 @@ main() { APT_KEY_TYPE="keyring" fi ;; + parrot) + OS="debian" + PACKAGETYPE="apt" + if [ "$VERSION_ID" -lt 5 ]; then + VERSION="buster" + APT_KEY_TYPE="legacy" + else + VERSION="bullseye" + APT_KEY_TYPE="keyring" + fi + ;; raspbian) OS="$ID" VERSION="$VERSION_CODENAME"