From 377b5a048decf8604df46997334c5d151fb94b55 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 25 Aug 2016 22:26:22 +1000 Subject: [PATCH] Fix distro on openwrt --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index aaf8cfb0..a789bb64 100755 --- a/neofetch +++ b/neofetch @@ -56,6 +56,7 @@ getdistro() { # Workaround for distros that store the value differently. [ -z "$distro" ] && distro="$(awk -F 'TAILS_PRODUCT_NAME="|"' '/^TAILS_PRODUCT_NAME=/ {printf $2}' /etc/*ease)" [ -z "$distro" ] && distro="$(awk '/BLAG/ {print $1; exit}' /etc/*ease)" + [ -z "$distro" ] && distro="$(awk -F "'" '/^DISTRIB_DESCRIPTION/ {print $2}' /etc/openwrt_release)" fi ;;