From 118fe105f5943fce66d339c6bbe00400974cf21c Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 18 Oct 2021 19:55:49 -0700 Subject: [PATCH] scripts/installer.sh: add a few more supported distro versions. Signed-off-by: David Anderson --- scripts/installer.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index 883ab5928..46001b6ec 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -162,7 +162,8 @@ main() { [ "$VERSION" != "eoan" ] && \ [ "$VERSION" != "focal" ] && \ [ "$VERSION" != "groovy" ] && \ - [ "$VERSION" != "hirsute" ] + [ "$VERSION" != "hirsute" ] && \ + [ "$VERSION" != "impish" ] then OS_UNSUPPORTED=1 fi @@ -171,13 +172,15 @@ main() { if [ "$VERSION" != "stretch" ] && \ [ "$VERSION" != "buster" ] && \ [ "$VERSION" != "bullseye" ] && \ + [ "$VERSION" != "bookworm" ] && \ [ "$VERSION" != "sid" ] then OS_UNSUPPORTED=1 fi ;; raspbian) - if [ "$VERSION" != "buster" ] + if [ "$VERSION" != "buster" ] && \ + [ "$VERSION" != "bullseye" ] then OS_UNSUPPORTED=1 fi @@ -204,6 +207,7 @@ main() { opensuse) if [ "$VERSION" != "leap/15.1" ] && \ [ "$VERSION" != "leap/15.2" ] && \ + [ "$VERSION" != "leap/15.3" ] && \ [ "$VERSION" != "tumbleweed" ] then OS_UNSUPPORTED=1