]> git.deb.at Git - deb/packages.git/blob - cron.d/600prepare_newpkg
add natty, remove karmic. set me as admin contact
[deb/packages.git] / cron.d / 600prepare_newpkg
1 #! /bin/bash
2
3 . `dirname $0`/../config.sh
4
5 isodate=$(date -I)
6 packagesdir="${filesdir}/packages/${isodate}"
7 test -d "${packagesdir}" || mkdir -p "${packagesdir}"
8
9 cd $topdir
10 for dist in $dists
11 do
12     echo newpkg info for $dist
13     LANG=C cat "${filesdir}/db/package_names_${dist}.txt" \
14         | sort | uniq > "${packagesdir}/package_names_${dist}"
15     LANG=C cat "${filesdir}/db/source_names_${dist}.txt" \
16         | sort | uniq > "${packagesdir}/source_names_${dist}"
17
18     ./bin/newpkg_info ${dist}
19 done