From 5a67380fd73dca3cc04c220d149f5378ab4db6c7 Mon Sep 17 00:00:00 2001 From: Konstantinos Date: Thu, 20 Apr 2017 16:59:19 +0300 Subject: [PATCH] #! fix --- screenfetch-dev | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/screenfetch-dev b/screenfetch-dev index 52027c5..725aaa9 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -721,7 +721,9 @@ detectdistro () { pardus pclinuxos redhat redstar rosa SuSe; do if [ -f /etc/$di-release ]; then distro=$di && break; fi done - if [[ "${distro}" == "gentoo" ]]; then + if [[ "${distro}" == "crunchbang-lsb" ]]; then + distro == "Crunchbang" + elif [[ "${distro}" == "gentoo" ]]; then grep -q "Funtoo" /etc/gentoo-release && distro="Funtoo" elif [[ "${distro}" == "mandrake" ]] || [[ "${distro}" == "mandriva" ]]; then grep -q "PCLinuxOS" /etc/${distro}-release && distro="PCLinuxOS"