From 86372fe6a8849eecb3e69637a22b31e500022ea0 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 8 Jan 2019 15:52:12 +0200 Subject: [PATCH] distro: Remove broken distro lines --- neofetch | 5 ----- 1 file changed, 5 deletions(-) diff --git a/neofetch b/neofetch index 0a8e503e..85a23bee 100755 --- a/neofetch +++ b/neofetch @@ -924,11 +924,6 @@ get_distro() { "tiny") distro="${NAME:-${DISTRIB_ID:-${TAILS_PRODUCT_NAME}}}" ;; "off") distro="${PRETTY_NAME:-${DISTRIB_DESCRIPTION}} ${UBUNTU_CODENAME}" ;; esac - - # Workarounds for distros that go against the os-release standard. - [[ -z "${distro// }" ]] && distro="$(awk '/BLAG/ {print $1; exit}')" "${files[@]}" - [[ -z "${distro// }" ]] && distro="$(awk -F'=' '{print $2; exit}')" "${files[@]}" - else for release_file in /etc/*-release; do distro+="$(< "$release_file")"