minor documentation edit
This commit is contained in:
parent
e22a9a58ac
commit
874bc204b5
campcaster/doc
|
@ -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/<arch> /dev/null | gzip -9c \
|
||||
apt-ftparchive packages packages/<arch> | gzip -9c \
|
||||
> dists/dapper/main/binary-<arch>/Packages.gz</pre>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue