Merge pull request #274 from BKasin/neon
Add exception for KDE neon to *buntu version check
This commit is contained in:
commit
dbe67789d8
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1197,7 +1197,7 @@ get_distro() {
|
||||||
elif type -p lsb_release >/dev/null; then
|
elif type -p lsb_release >/dev/null; then
|
||||||
# Debian does not include .x versions in /etc/os-version, but does in debian_version
|
# 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
|
# 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
|
. /etc/os-release
|
||||||
case $distro_shorthand in
|
case $distro_shorthand in
|
||||||
on) distro="${NAME}" ;;
|
on) distro="${NAME}" ;;
|
||||||
|
|
Loading…
Reference in a new issue