From 6bd212771129d00cf7b42d6774a6b81547569384 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 22 Nov 2010 00:26:08 +0100 Subject: man: make clear that VERSION and VERSION_ID is not mandatory in os-release.5 --- man/os-release.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'man/os-release.xml') diff --git a/man/os-release.xml b/man/os-release.xml index c6eb28f395..b5f42b2eec 100644 --- a/man/os-release.xml +++ b/man/os-release.xml @@ -167,9 +167,15 @@ If you interpreting this file from code or a shell script, use the ID and VERSION_ID fields. When - looking for an OS indetification string for + looking for an OS identification string for presentation to the user use the PRETTY_STRING field. + + Note that operating system vendors may choose + not to provide version information, for example to + accomodate for rolling releases. In this case VERSION + and VERSION_ID may be unset. Applications should not + rely on these fields to be set. -- cgit v1.2.3-54-g00ecf