Re: Determining Linux Distribution

2020-09-10 Thread Christian Mauderer
On 10/09/2020 18:31, Joel Sherrill wrote: > > > On Thu, Sep 10, 2020 at 11:09 AM Christian Mauderer > wrote: > > On 10/09/2020 00:25, Chris Johns wrote: > > On 10/9/20 8:15 am, Joel Sherrill wrote: > >> On Wed, Sep 9, 2020 at 4:06 PM Karel Gardas > mai

Re: Determining Linux Distribution

2020-09-10 Thread Joel Sherrill
On Thu, Sep 10, 2020 at 11:09 AM Christian Mauderer wrote: > On 10/09/2020 00:25, Chris Johns wrote: > > On 10/9/20 8:15 am, Joel Sherrill wrote: > >> On Wed, Sep 9, 2020 at 4:06 PM Karel Gardas >> > wrote: > >> > >> On 9/9/20 11:03 PM, Karel Gardas wrote: > >

Re: Determining Linux Distribution

2020-09-10 Thread Christian Mauderer
On 10/09/2020 00:25, Chris Johns wrote: > On 10/9/20 8:15 am, Joel Sherrill wrote: >> On Wed, Sep 9, 2020 at 4:06 PM Karel Gardas > > wrote: >> >> On 9/9/20 11:03 PM, Karel Gardas wrote: >> > so Debian, Kali and OpenSuSE at least are not well handled by this

Re: Determining Linux Distribution

2020-09-09 Thread Chris Johns
On 10/9/20 8:15 am, Joel Sherrill wrote: > On Wed, Sep 9, 2020 at 4:06 PM Karel Gardas > wrote: > > On 9/9/20 11:03 PM, Karel Gardas wrote: > > so Debian, Kali and OpenSuSE at least are not well handled by this > > script and it's quite fun since simple

Re: Determining Linux Distribution

2020-09-09 Thread Joel Sherrill
On Wed, Sep 9, 2020 at 4:06 PM Karel Gardas wrote: > On 9/9/20 11:03 PM, Karel Gardas wrote: > > so Debian, Kali and OpenSuSE at least are not well handled by this > > script and it's quite fun since simple: > > Can't judge author of the script. The post is from 2008! So I guess > /etc/os-release

Re: Determining Linux Distribution

2020-09-09 Thread Karel Gardas
On 9/9/20 11:03 PM, Karel Gardas wrote: > so Debian, Kali and OpenSuSE at least are not well handled by this > script and it's quite fun since simple: Can't judge author of the script. The post is from 2008! So I guess /etc/os-release was not so wide spread among the Linuxes at that time... __

Re: Determining Linux Distribution

2020-09-09 Thread Karel Gardas
On 9/9/20 10:30 PM, Joel Sherrill wrote: > It reports CentOS 7 as "centos" Ubuntu 18.04 -> Ubuntu and now in linux containers (if you are curious, but I would bet you get the same result on local installed system too): Ubuntu 20.04 -> Ubuntu CentOS 8 -> centos Debian 10 -> os OpenSUSE 15.2 -> os

Determining Linux Distribution

2020-09-09 Thread Joel Sherrill
Hi Chris mentioned this and then the thread moved on. Based on reading a few pages, each distribution has its own place to state the distribution name. Which makes the problem a bit recursive. But some nice soul put together a shell script which is supposed to identify the distribution. https://