fix(installer): print unsupported distribution error (#2368)

This commit is contained in:
Jonas L 2023-02-09 18:38:24 +01:00 committed by GitHub
parent e92be34e2a
commit 1c768b9251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 7 deletions

12
install
View File

@ -348,15 +348,13 @@ check_distribution() {
ubuntu-18.04) is_ubuntu=true && distro="bionic" ;; ubuntu-18.04) is_ubuntu=true && distro="bionic" ;;
ubuntu-20.04) is_ubuntu=true && distro="focal" ;; ubuntu-20.04) is_ubuntu=true && distro="focal" ;;
*) *)
error << "EOF" error "could not determine supported distribution '$ID-$VERSION_ID'
could not determine supported distribution "$ID-$VERSION_ID"!
Support for installing LibreTime on Xenial has dropped since 3.0.0-alpha.10. Please check the documentation to find the supported distributions.
Support for installing LibreTime on Stretch has dropped since 3.0.0-alpha.10.
Support for installing LibreTime on Jessie has dropped since 3.0.0-alpha.8.
EOF Support for installing LibreTime on Xenial has dropped since 3.0.0-alpha.10.
exit 1 Support for installing LibreTime on Stretch has dropped since 3.0.0-alpha.10.
Support for installing LibreTime on Jessie has dropped since 3.0.0-alpha.8."
;; ;;
esac esac
} }