ad-oliviero / uwufetch

A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace.
GNU General Public License v3.0
747 stars 48 forks source link

remove double quotes from distro names #113

Closed Joshix-1 closed 3 years ago

Joshix-1 commented 3 years ago

I don't think those double quotes make any sense.

ad-oliviero commented 3 years ago

The double quotes are there because in some distributions /etc/os-release has double quotes in "ID=" part. Removing them would break compatibility with this distributions. Best you can do is to create a function that detects the quotes and removes them.

Joshix-1 commented 3 years ago

i think this should work (at least it doesn't break it on arch)