ss7m / paleofetch

neofetch, but written in C
MIT License
167 stars 49 forks source link

Fix OS detection on Debian 10 and other distros #34

Closed dwzg closed 4 years ago

dwzg commented 4 years ago

Debian has the NAME value in /etc/os-release on the second line. Parse through /etc/os-release line for line until NAME is found.

Before: broken_debian

After: nonbroken_debian

ss7m commented 4 years ago

We also probably need to add in support for other package managers at some point. I do have thoughts on what I want that to look like.