Blob


1 #!/usr/local/plan9/bin/rc
3 cd /scratch/rsc/plan9
4 cvs up -dAP
5 cd dist; ./mkfilelist >filelist
6 cp filelist /usr/local/plan9/dist
7 cd /usr/local/plan9/dist/debian
9 rm -rf dists pool
10 mkdir -p dists pool
11 ./mkpkg all
12 mkdir other
13 cp other/*.deb pool
14 d=dists/testing/main/binary-i386
15 mkdir -p $d
16 apt-ftparchive packages pool |tee $d/Packages |gzip >$d/Packages.gz
17 cp Release.testing $d/Release
18 {
19 cat Release.top
20 apt-ftparchive release dists/testing
21 } >dists/testing/Release
22 echo rsync -r dists pool swtch.com:www/swtch.com/debian