[csw-devel] SF.net SVN: gar:[20009] csw/mgar/pkg/opencsw-manual/trunk/files/ for-administrators/mirror-setup.rst

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Jan 2 15:56:18 CET 2013


Revision: 20009
          http://gar.svn.sourceforge.net/gar/?rev=20009&view=rev
Author:   wahwah
Date:     2013-01-02 14:56:18 +0000 (Wed, 02 Jan 2013)
Log Message:
-----------
opencsw-manual/trunk: correct the link syntax

Modified Paths:
--------------
    csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/mirror-setup.rst

Modified: csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/mirror-setup.rst
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/mirror-setup.rst	2013-01-02 12:51:01 UTC (rev 20008)
+++ csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/mirror-setup.rst	2013-01-02 14:56:18 UTC (rev 20009)
@@ -11,13 +11,17 @@
 To set up the mirror you should use ``rsync`` as it can update your local copy
 quickly and with low bandwidth use and also preserves hardlinks. Not all
 mirrors provide access via the ``rsync`` protocol, please consult
-[our list of mirrors](http://www.opencsw.org/get-it/mirrors/).
+`our list of mirrors`_.
 To make a full copy of the OpenCSW repository::
 
-  pkgutil -y -i rsync
-  mkdir /export/opencsw-mirror
-  rsync -aH --delete rsync://rsync.opencsw.org/opencsw/ /export/opencsw-mirror
+  MIRROR_DIR=/export/mirror/opencsw
+  sudo pkgutil -y -i rsync
+  sudo mkdir -p "${MIRROR_DIR}"
+  sudo rsync -aH --delete rsync://rsync.opencsw.org/opencsw/ "${MIRROR_DIR}"
 
 The directory ``opencsw-mirror`` can either be shared via HTTP or via NFS to the
 ``pkgutil`` clients.  Use ``http://myserver/opencsw-mirror/`` for HTTP and
 ``file:///myserver/opencsw-mirror`` for NFS as mirror option in ``pkgutil``.
+
+.. _our list of mirrors:
+  http://www.opencsw.org/get-it/mirrors/

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list