<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 Sep 2023, 19:30 Linus via User, <<a href="mailto:user@lists.gambas-basic.org">user@lists.gambas-basic.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unfortunately it fail do to ‘/etc/lsb-release’ file does not exist on Fedora, even I installed ‘redhat-lsb’ package. This one does not provide /etc/lsb-release’ file.<br>
<br>
On Internet, they mention to use ‘/etc/os-release’ that seems to be present on most distributions<br>
<br>
Olivier<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I always check for both and also check for /etc/upstream-release/ folder for the same if I want to know the base version. Ie. LinuxMint holds its Ubuntu info there and many other upstream distros use that path too.</div><div dir="auto"><br></div><div dir="auto">lsb-release and os-release files have different key names to watch out for.</div><div dir="auto"><br></div><div dir="auto">Respects</div><div dir="auto">BruceSÂ </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>