Fix for openSUSE Leap distro detection when lsb-release is not installed

This commit is contained in:
John Beranek
2019-03-19 20:16:34 +00:00
parent b703038150
commit 06c5b671e8

View File

@@ -896,6 +896,7 @@ detectdistro () {
fi
# Hotfixes
[[ "${distro}" == "Opensuse-leap" ]] && distro="openSUSE"
[[ "${distro}" == "void" ]] && distro="Void Linux"
[[ "${distro}" == "evolveos" ]] && distro="Evolve OS"
[[ "${distro}" == "antergos" ]] && distro="Antergos"