Add except for KDE neon to *buntu version check

This commit is contained in:
Bailey Kasin
2024-05-06 19:41:54 -07:00
committed by GitHub
parent 18107d9601
commit 413a7d3681
+1 -1
View File
@@ -1197,7 +1197,7 @@ get_distro() {
elif type -p lsb_release >/dev/null; then
# Debian does not include .x versions in /etc/os-version, but does in debian_version
# So if that file exists, and we are not *buntu, build name from there
if [[ -f /etc/debian_version ]] && [[ $(lsb_release -si) != *"buntu"* ]]; then
if [[ -f /etc/debian_version ]] && [[ $(lsb_release -si) != *"buntu"* ]] && [[ $(lsb_release -si) != *"neon"* ]]; then
. /etc/os-release
case $distro_shorthand in
on) distro="${NAME}" ;;