cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki
MIT License
1.94k stars 121 forks source link

Installer: Use /etc/os-release to determine distribution *solved* #353

Closed Nold360 closed 1 month ago

Nold360 commented 11 months ago

Is your feature request related to a problem? Please describe. I was wondering why you are asking the user, which distri he is using. AFAIK every major distri should have /etc/os-release which should be sourceable

Describe the solution you'd like Drop the userinput and just use /etc/os-release (if available?)

Describe alternatives you've considered idk.. there are multiple files, but again afaik it's the standard now.

Additional context

Kreyren commented 11 months ago

No written standard -> It's not standard

/etc/os-release is not mentioned in FHS-3.0 so it's not required for distributions to provide these to be certified. It's an agreed practice by mostly mainstream distros -> relying on it will break detection of the OS on some linux systems.