On Tue, Jul 29, 2003 at 01:58:57PM +1000, Rene Cunningham wrote:
> Gday,
>
> Is there a Debian tool that will help me regenerate Packages.gz from a
> pool of packages? I can use dpkg-scanpackages in a script but since i
> have woody and sid packages in the same pool directory, the latest
> version is written to Packages.gz
>
> Script goes something like
>
> PKGDIR=`find pool -type d -print | uniq`
>
> for PKG in ${PKGDIR}; do
> if [ -d "${PKG}" ]; then
> chmod a+r ${PKG}
> echo Making Packages.gz
> echo
> dpkg-scanpackages ${PKG} /dev/null | gzip -9c >>
> dists/stable/main/binary-i386/Packages.gz
> fiHave you looked at mini-dinstall or apt-ftparchive? They're probably closer to what you want. -- Rob Weir <[EMAIL PROTECTED]> | [EMAIL PROTECTED] | Do I look like I want a CC? Words of the day: CNCIS Croatian ASDIC e-cash Sarin nerve gas underground
pgp00000.pgp
Description: PGP signature

