[deployment-guide] Corrected an example usage of Yum variables.
Jaromir Hradilek
jhradile at fedoraproject.org
Fri May 20 00:21:58 UTC 2011
commit 7aa1f6142b3143d762843f864a148bba538309b9
Author: Jaromir Hradilek <jhradile at redhat.com>
Date: Fri May 20 01:41:38 2011 +0200
Corrected an example usage of Yum variables.
en-US/Yum.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/en-US/Yum.xml b/en-US/Yum.xml
index dd3d1df..139c0b7 100644
--- a/en-US/Yum.xml
+++ b/en-US/Yum.xml
@@ -1128,7 +1128,7 @@ baseurl=http://path/to/repo or ftp://path/to/repo or file:///path/to/local/repo<
<para>
Repository descriptions often include the operating system name. To define a new variable called <varname>$osname</varname>, create a new file with <quote>&MAJOROS;</quote> on the first line and save it as <filename>/etc/yum/vars/osname</filename>. For example:
</para>
- <screen>~]# <command>echo "Red Hat Enterprise Linux" > /etc/yum/vars/osname</command></screen>
+ <screen>~]# <command>echo "&MAJOROS;" > /etc/yum/vars/osname</command></screen>
<para>
Instead of <quote>&MAJOROSVER;</quote>, you can now use the following in the <filename>.repo</filename> files:
</para>
More information about the docs-commits
mailing list