junglert / shc

The easy way to display information about your device - made with php
https://junglert.github.io/shc/
GNU General Public License v3.0
4 stars 0 forks source link

better compatibility for different OS Versions #7

Closed DoctorCr4nk closed 4 years ago

DoctorCr4nk commented 4 years ago

The Installer uses the file '/etc/os-release' to determine which OS is currently running on the Host. Therefore the Value of 'PRETTY_NAME' is read from the File.

I would suggest using the value 'ID_LIKE' instead, as it just provides the distribution instead of the specific OS version. For example, openSUSE Leap 15.1 is supportet but openSUSE Leap 15.2 isn´t.