3 if [ "$1" = packages -o -z "$1" ]; then
7 elif [ "$1" = sources ]; then
12 echo "Usage: $0 packages|sources" >&2
16 echo Searching for $type ...
18 for x in main non-US/main non-free; do
20 dir=dists/unstable/$x/$topdir
22 dpkg-scan$type $dir /dev/null > $dir/$outfile
23 gzip -c $dir/$outfile > $dir/$outfile.gz