summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:02:02 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:02:02 +0000
commit7bb7d35b6e1e1b3f73ede5d4296f68b857047cb6 (patch)
tree07a2144288e9cad0ac9dbae8459c5838851e81ea /doc
parent1426f57b02cf844de47d77c860786561a9889a76 (diff)
- 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)
Diffstat (limited to 'doc')
-rw-r--r--doc/apt-ftparchive.1.sgml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/apt-ftparchive.1.sgml b/doc/apt-ftparchive.1.sgml
index b45b980a0..25edac403 100644
--- a/doc/apt-ftparchive.1.sgml
+++ b/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;