scripts/installer.sh: add a few more supported distro versions.

Signed-off-by: David Anderson <danderson@tailscale.com>
pull/3149/head
David Anderson 3 years ago committed by Dave Anderson
parent c30fa5903d
commit 118fe105f5

@ -162,7 +162,8 @@ main() {
[ "$VERSION" != "eoan" ] && \ [ "$VERSION" != "eoan" ] && \
[ "$VERSION" != "focal" ] && \ [ "$VERSION" != "focal" ] && \
[ "$VERSION" != "groovy" ] && \ [ "$VERSION" != "groovy" ] && \
[ "$VERSION" != "hirsute" ] [ "$VERSION" != "hirsute" ] && \
[ "$VERSION" != "impish" ]
then then
OS_UNSUPPORTED=1 OS_UNSUPPORTED=1
fi fi
@ -171,13 +172,15 @@ main() {
if [ "$VERSION" != "stretch" ] && \ if [ "$VERSION" != "stretch" ] && \
[ "$VERSION" != "buster" ] && \ [ "$VERSION" != "buster" ] && \
[ "$VERSION" != "bullseye" ] && \ [ "$VERSION" != "bullseye" ] && \
[ "$VERSION" != "bookworm" ] && \
[ "$VERSION" != "sid" ] [ "$VERSION" != "sid" ]
then then
OS_UNSUPPORTED=1 OS_UNSUPPORTED=1
fi fi
;; ;;
raspbian) raspbian)
if [ "$VERSION" != "buster" ] if [ "$VERSION" != "buster" ] && \
[ "$VERSION" != "bullseye" ]
then then
OS_UNSUPPORTED=1 OS_UNSUPPORTED=1
fi fi
@ -204,6 +207,7 @@ main() {
opensuse) opensuse)
if [ "$VERSION" != "leap/15.1" ] && \ if [ "$VERSION" != "leap/15.1" ] && \
[ "$VERSION" != "leap/15.2" ] && \ [ "$VERSION" != "leap/15.2" ] && \
[ "$VERSION" != "leap/15.3" ] && \
[ "$VERSION" != "tumbleweed" ] [ "$VERSION" != "tumbleweed" ]
then then
OS_UNSUPPORTED=1 OS_UNSUPPORTED=1

Loading…
Cancel
Save