cvs commit: ALFS/docs/syntax_doc/alfs_dtd elem_download.xml

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Fri May 28 14:18:46 PDT 2004


jwrober     04/05/28 15:18:46

  Modified:    docs/syntax_doc/alfs_dtd elem_download.xml
  Log:
  * cleanup
  
  Revision  Changes    Path
  1.10      +9 -8      ALFS/docs/syntax_doc/alfs_dtd/elem_download.xml
  
  Index: elem_download.xml
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/alfs_dtd/elem_download.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- elem_download.xml	24 Feb 2004 03:13:53 -0000	1.9
  +++ elem_download.xml	28 May 2004 21:18:46 -0000	1.10
  @@ -38,16 +38,14 @@
   directory from which the download is performed. It should be terminated by
   a slash [ / ]. More precisely, the actual URL used for the
   download is the catenation of the content of the <filename>url</filename>
  -element with the content of the <filename>file</filename> element. This
  -element is optional, but if used can be used more than once.</para>
  +element with the content of the <filename>file</filename> element.</para>
   
   <para>The sub-element <filename>destination</filename> contains the path of
   the directory into which the download should be performed.</para>
   
   <para>The sub-element <filename>digest</filename> contains the value with
  -which the digest computed from the dowloaded file will be compared. This
  -sub-element is optional. For more information see :
  -<xref linkend="elem_digest"/>
  +which the digest computed from the dowloaded file will be compared. For
  +more information see :<xref linkend="elem_digest"/>
   </para>
   
   <para>If the file is already present in the destination directory, no
  @@ -59,13 +57,16 @@
   <title>Examples</title>
   
   <screen><userinput><download>
  -	<file>kbd-1.08.tar.gz</file>
  -	<url>ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/</url>
  +	<file>libxml2-2.6.9.tar.gz</file>
  +	<url>ftp://xmlsoft.org/</url>
   	<destination>/tmp/</destination>
   	<digest>924e6a05e52715dc0f96385b35f2f680</digest>
   </download></userinput></screen>
   
  -<para>There is no equivalent Bash script example for this element.</para>
  +<para>The equivalent bash script is :</para>
  +
  +<screen><userinput>echo Executing 'download'
  +<command>wget -nc -O /tmp/libxml2-2.6.9.tar.gz ftp://xmlsoft.org/libxml2-2.6.9.tar.gz</command></userinput></screen>
   
   </sect2>
   
  
  
  



More information about the alfs-log mailing list