From 1c768b92513486775e2e8eff6bf1f7cdf4f2cddf Mon Sep 17 00:00:00 2001 From: Jonas L Date: Thu, 9 Feb 2023 18:38:24 +0100 Subject: [PATCH] fix(installer): print unsupported distribution error (#2368) --- install | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/install b/install index 1a83de0a8..20716dfb6 100755 --- a/install +++ b/install @@ -348,15 +348,13 @@ check_distribution() { ubuntu-18.04) is_ubuntu=true && distro="bionic" ;; ubuntu-20.04) is_ubuntu=true && distro="focal" ;; *) - error << "EOF" - could not determine supported distribution "$ID-$VERSION_ID"! + error "could not determine supported distribution '$ID-$VERSION_ID' - Support for installing LibreTime on Xenial has dropped since 3.0.0-alpha.10. - 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. +Please check the documentation to find the supported distributions. -EOF - exit 1 +Support for installing LibreTime on Xenial has dropped since 3.0.0-alpha.10. +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 }