Dne 16.10.2018 v 16:11 Lennart Poettering napsal(a):
> Quite frankly, you are doing it wrong.

It's not me. It is either author of python-distro or mantainers of 
fedora-release.
But you are right, *someone* is doing *something* wrong. I am just trying to 
figure what is "someone" and "something".
Should code name for Atomic Rawhide be "Atomic Host" or "Rawhide"?
How to find that this version is actually rawhide?

> $VERSION is for display
> purposes. $VERSION_ID is for processing by code.
> 
> Similar, $VARIANT is for display purposes, and $VARIANT_ID for
> processing by code.

/etc/os-release contains only number. I.e., 30 for current rawhide.

So my question still stands - how should I detect that the release is actually 
rawhide?

Miroslav
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to