aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjnats <dev@jnats.xyz>2021-04-24 00:12:07 +0100
committerGitHub <noreply@github.com>2021-04-24 00:12:07 +0100
commitb09d479576f6ba88e7d86a39bfd770323fad1674 (patch)
tree439422572b649849effb1210c489b45ebb2443d2
parent78b57d855b94758d3a19f9737719d44cadce00e2 (diff)
downloadnofetch-b09d479576f6ba88e7d86a39bfd770323fad1674.tar.gz
nofetch-b09d479576f6ba88e7d86a39bfd770323fad1674.tar.bz2
Update nofetch
-rw-r--r--nofetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nofetch b/nofetch
index 887fc28..006f8a5 100644
--- a/nofetch
+++ b/nofetch
@@ -36,7 +36,7 @@ else
nofetch="something has gone terribly wrong"
fi
-osname=$(cat /etc/os-release | grep NAME= | head -1 | sed "s/NAME=//g")
+osname=$(cat /etc/os-release | grep -w NAME= | head -1 | sed "s/NAME=//g" | sed "s/\"//g")
echo " "
echo " > $nofetch "