Am Mittwoch, den 09.12.2015, 16:29 +0100 schrieb martin f krafft:
> also sprach Benjamin Drung <[email protected]> [2015-12
> -09 13:51 +0100]:
> >     osrelease:
> >         8
> 
> This is what I was looking for.
> 
> >     osrelease_info:
> >         - 8
> 
> Will this be a list, e.g.
> 
>   - 8
>   - 1
>   - r2
> 
> For 8.1r2?

Yes, this is a list. 

On Debian, if you do not have lsb-release installed, VERSION_ID from
/etc/os-release will be used as source and this file omits the point
releases. So it only reports "8" instead of "8.2".

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: [email protected]
URL:  http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Andreas Gauger, Achim Weiss.

Reply via email to