mirror-tutorial mirror-tutorial-en.xml,1.17,1.18

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue Nov 15 14:28:14 UTC 2005


Author: pfrields

Update of /cvs/docs/mirror-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10134

Modified Files:
	mirror-tutorial-en.xml 
Log Message:
Fixed commands to use su, removed slightly misleading language


Index: mirror-tutorial-en.xml
===================================================================
RCS file: /cvs/docs/mirror-tutorial/mirror-tutorial-en.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- mirror-tutorial-en.xml	11 Nov 2005 16:58:48 -0000	1.17
+++ mirror-tutorial-en.xml	15 Nov 2005 14:28:05 -0000	1.18
@@ -1275,7 +1275,7 @@
 	</para>
 
 <screen>
-<userinput>yum-arch -l -s /var/www/mirror/fedora/linux/core/&FCVER;/i386/os</userinput>
+<userinput>su -c 'yum-arch -l -s /var/www/mirror/fedora/linux/core/&FCVER;/i386/os'</userinput>
 </screen>
 
 	<para>
@@ -1295,8 +1295,7 @@
 	  <command>yum</command> (and possibly other repository client
 	  programs). The <command>createrepo</command> command stores
 	  this data in a folder named <filename>repodata</filename>.
-	  Just as with <command>yum-arch</command>, run
-	  <command>createrepo</command> against the directory
+	  Run <command>createrepo</command> against the directory
 	  <emphasis>under which</emphasis> you want the
 	  <filename>repodata</filename> directory to appear. The
 	  <command>createrepo</command> program also searches
@@ -1310,7 +1309,7 @@
 	</para>
 
 <screen>
-<userinput>createrepo /var/www/mirror/fedora/linux/core/&FCVER;/i386/os</userinput>
+<userinput>su -c 'createrepo /var/www/mirror/fedora/linux/core/&FCVER;/i386/os'</userinput>
 </screen>
 
 	<para>
@@ -1326,7 +1325,7 @@
 	</para>
 
 <screen>
-<userinput>createrepo -g Fedora/base/comps.xml /var/www/mirror/fedora/linux/core/&FCVER;/i386/os</userinput>
+<userinput>su -c 'createrepo -g Fedora/base/comps.xml /var/www/mirror/fedora/linux/core/&FCVER;/i386/os'</userinput>
 </screen>
 
 	<para>




More information about the docs-commits mailing list