#!/bin/csh

foreach y ( `ls /usr/local/rib/repositories` )
  set x = `basename $y`
  echo -n "updating $x ...  "
  cp /usr/local/rib/cgi-scripts/*.pl /usr/local/rib/cgi-bin/admin/repositories/$x
  cp /usr/local/rib/cgi-scripts/ifetch /usr/local/rib/cgi-bin/admin/repositories/$x
  echo "done"
end
