Skip to content

Commit

Permalink
Merge pull request #274 from BKasin/neon
Browse files Browse the repository at this point in the history
Add exception for KDE neon to *buntu version check
  • Loading branch information
hykilpikonna authored May 8, 2024
2 parents 18107d9 + 413a7d3 commit dbe6778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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}" ;;
Expand Down

0 comments on commit dbe6778

Please sign in to comment.