#!/bin/rc
#go to /n/sources/contrib/<user>/replica/
#
#for i in */db
#cd root
#mkpaqfs -name $i `cat $i`
#
#Then we have all paqfs. Those get moved
#to a web server and a list is created
#
#Then pkginstall is simply hget blah > $home/packages
#
#Then mount and bind it.
pdir=`{pwd}
for (contributor in /n/sources/contrib/*/replica) {
echo $contributor
cd $contributor
pwd
for (package in *) {
cd $package
for (db in db) {
ls -l db
echo $pdir
{echo .;awk '{print $1}' db} | cat >>/tmp/test
}
cd ..
pwd
}
sleep 1000
}
|