COMP: scanpackages : new utility to make Packages.gz

This commit is contained in:
mattijs 2010-08-25 15:31:27 +01:00
parent 58e969c376
commit f7b96e2766

8
bin/tools/scanpackages Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
#
# Generate Packages file on debian repositories.
for D in `find . -mindepth 4 -type d`
do
dpkg-scanpackages $D | gzip -9c > ${D}/Packages.gz
done