24 Jan
2019
24 Jan
'19
13:26
On 24/01/2019 01.54, Christian Boltz wrote:
Hello,
cer@Telcontar:~> grep VERSION_ID /etc/os-release VERSION_ID="15.0" cer@Telcontar:~> grep VERSION_ID /etc/os-release | cut -f3 -d "\""
That's an obvious bug, and my usual recommendation would be to open a bugreport.
However, this smelled like a small issue, so I decided to simply fix it.
Well, as usual if I touch something, it explodes ;-) and in the end, I did 3 fixes instead of one - see my comment in boo#1095723 for details.
I'm curious. Why not source the "/etc/os-release" file? Something like . /etc/os-release Then just use $VERSION -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)