Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,8 @@ 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
if [[ -f /etc/debian_version ]]; then
# So if that file exists, and we are not *buntu, build name from there
if [[ -f /etc/debian_version ]] && [[ $distro_shorthand -ne *"buntu"* ]]; then
. /etc/os-release
case $distro_shorthand in
on) distro="${NAME}" ;;
Expand Down