From 5f266a3f16d3f66ce26a99b98d410acc1cfb11a5 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Mon, 18 Dec 2023 22:38:08 -0500 Subject: [PATCH] [F] Fix debian version on ubuntu #195 --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 35429cbe..6ff1d6d4 100755 --- a/neofetch +++ b/neofetch @@ -1176,7 +1176,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 ]] && [[ $distro != *"buntu"* ]]; then + if [[ -f /etc/debian_version ]] && [[ $(lsb_release -si) != *"buntu"* ]]; then . /etc/os-release case $distro_shorthand in on) distro="${NAME}" ;;