Added support for Mint maybe other Ubuntu variants
This commit is contained in:
parent
52d545081a
commit
cb7da1343a
@ -39,10 +39,13 @@ Supported distros are Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora.
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$os" == "ubuntu" && "$os_version" -lt 2204 ]]; then
|
if [[ "$os" == "ubuntu" && "$os_version" -lt 2204 ]]; then
|
||||||
|
if [[ "$os" == "ubuntu" && $(grep 'UBUNTU_CODENAME' /etc/os-release | cut -d '=' -f 2) < 'focal' ]]; then
|
||||||
|
|
||||||
echo "Ubuntu 22.04 or higher is required to use this installer.
|
echo "Ubuntu 22.04 or higher is required to use this installer.
|
||||||
This version of Ubuntu is too old and unsupported."
|
This version of Ubuntu is too old and unsupported."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "$os" == "debian" ]]; then
|
if [[ "$os" == "debian" ]]; then
|
||||||
if grep -q '/sid' /etc/debian_version; then
|
if grep -q '/sid' /etc/debian_version; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user