fix(installer): print unsupported distribution error (#2368)
This commit is contained in:
parent
e92be34e2a
commit
1c768b9251
12
install
12
install
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue