minor documentation edit

This commit is contained in:
fgerlits 2007-02-26 10:53:05 +00:00
parent e22a9a58ac
commit 874bc204b5
2 changed files with 4 additions and 5 deletions

View File

@ -194,7 +194,7 @@ To do this, you need to do the following, as real root (sudo is not enough):
on <code>code.campware.org</code>.
<li>Generate the package listing:
<pre>cd /var/www/ubuntu
apt-ftparchive packages packages/&lt;arch&gt; /dev/null | gzip -9c \
apt-ftparchive packages packages/&lt;arch&gt; | gzip -9c \
> dists/dapper/main/binary-&lt;arch&gt;/Packages.gz</pre>
</ul>

View File

@ -52,15 +52,14 @@ packages into your home directory:
<pre>cd
mkdir repository
cd repository
mkdir dist
cp /var/cache/apt/archive/*.deb dist/</pre>
mkdir pool
cp /var/cache/apt/archive/*.deb pool/</pre>
<h1>Create the package listing</h1>
Type
<pre>cd ~/repository
apt-ftparchive packages dist > Packages
gzip --best Packages</pre>
apt-ftparchive packages pool | gzip -9c > Packages.gz</pre>
this will create a <code>Packages.gz</code> file containing the list of
packages.