[systemd-commits] 2 commits - man/os-release.xml

Lennart Poettering lennart at kemper.freedesktop.org
Mon Feb 13 12:42:42 PST 2012


 man/os-release.xml |   15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

New commits:
commit 3d88c0a7d1b3acafdf5311a6081256bd90cc1103
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Feb 13 21:42:30 2012 +0100

    man: we don't support systems without /etc/os-release anymore

diff --git a/man/os-release.xml b/man/os-release.xml
index 8f516cb..f503b23 100644
--- a/man/os-release.xml
+++ b/man/os-release.xml
@@ -70,11 +70,6 @@
                 <para><filename>/etc/os-release</filename> contains
                 data that is defined by the operating system vendor
                 and should not be changed by the administrator.</para>
-
-                <para>Depending on the operating system other
-                configuration files might be checked for OS
-                identification as well, however only as
-                fallback.</para>
         </refsect1>
 
         <refsect1>

commit 26fd9acfd5f177b3da98f50b92d90d80500aa87a
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Feb 13 18:37:33 2012 +0100

    man: it's probably a good idea to wrap the ANSI color in quotes, in order to allow proper shell parsing of the semicolon

diff --git a/man/os-release.xml b/man/os-release.xml
index f85119d..8f516cb 100644
--- a/man/os-release.xml
+++ b/man/os-release.xml
@@ -146,8 +146,8 @@
                                 not contain an OS version of some
                                 kind, as suitable. If not set defaults
                                 to <literal>Linux</literal>. Example:
-                                <literal>PRETTY_NAME=Fedora 15
-                                (Rawhide)</literal>.</para></listitem>
+                                <literal>PRETTY_NAME="Fedora 15
+                                (Rawhide)"</literal>.</para></listitem>
                         </varlistentry>
 
                         <varlistentry>
@@ -160,9 +160,9 @@
                                 for inclusion in the ESC [ m
                                 ANSI/ECMA-48 escape code for setting
                                 graphical rendition. Example:
-                                <literal>ANSI_COLOR=0;31</literal> for
+                                <literal>ANSI_COLOR="0;31"</literal> for
                                 red, or
-                                <literal>ANSI_COLOR=1;34</literal> for
+                                <literal>ANSI_COLOR="1;34"</literal> for
                                 light blue.</para></listitem>
                         </varlistentry>
                 </variablelist>
@@ -188,7 +188,7 @@ VERSION="15 (Rawhide)"
 ID=fedora
 VERSION_ID=15
 PRETTY_NAME="Fedora 15 (Rawhide)"
-ANSI_COLOR=0;34</programlisting>
+ANSI_COLOR="0;34"</programlisting>
         </refsect1>
 
         <refsect1>



More information about the systemd-commits mailing list