From 54300031f90b9f0432bec5a1d3992c6fe452832a Mon Sep 17 00:00:00 2001 From: oshaboy Date: Sun, 13 Mar 2022 01:48:10 +0200 Subject: [PATCH] Revert "Revert "newlines"" This reverts commit e95c8ebe5f583730ee24947a022d79dd02f846bb. --- neofetch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neofetch b/neofetch index 4920dd7a..5995b583 100755 --- a/neofetch +++ b/neofetch @@ -998,16 +998,19 @@ get_distro() { on|tiny) distro="OS Elbrus" ;; *) distro="OS Elbrus $(< /etc/mcst_version)" esac + elif [[ -f /etc/linspire-version ]]; then case $distro_shorthand in on|tiny) distro="Linspire" ;; *) distro="Linspire $(awk '/Version/ {print $2}' /etc/linspire-version)" esac + elif [[ -f /etc/lindowsos-version ]]; then case $distro_shorthand in on|tiny) distro="LindowsOS" ;; *) distro="$(awk '/Version/ {print $2,$3}' /etc/lindowsos-version)" esac + elif type -p pveversion >/dev/null; then case $distro_shorthand in on|tiny) distro="Proxmox VE" ;;