Sfoglia il codice sorgente

- Add a simple example to apt-ftparchive(1) (Closes: #95257)
Author: mdz
Date: 2003-07-18 16:43:40 GMT
- Add a simple example to apt-ftparchive(1) (Closes: #95257)

Arch Librarian 22 anni fa
parent
commit
7bb7d35b6e
2 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 1 0
      debian/changelog
  2. 11 0
      doc/apt-ftparchive.1.sgml

+ 1 - 0
debian/changelog

@@ -31,6 +31,7 @@ apt (0.5.6) unstable; urgency=low
       clarifications from Thomas Hood <jdthood@yahoo.co.uk>
       (Closes: #193336)
     - Fix SGML validation errors in apt-cache.8.sgml introduced in 0.5.5 or so
+    - Add a simple example to apt-ftparchive(1) (Closes: #95257)
 
  -- 
 

+ 11 - 0
doc/apt-ftparchive.1.sgml

@@ -518,6 +518,17 @@ for i in Sections do
    </VariableList>
  </RefSect1>
 
+<RefSect1><Title>Examples</>
+
+<para>To create a compressed Packages file for a directory containing
+binary packages (.deb):
+
+<programlisting
+<command/apt-ftparchive/ packages <replaceable/directory/ | <command/gzip/ > <filename/Packages.gz/
+</programlisting>
+
+</RefSect1>
+
  <RefSect1><Title>See Also</>
    <para>
    &apt-conf;