. locations.include up1=`dirname $TREE` up2=`dirname $up1` if [ -x /usr/bin/yum-arch ] ; then cd $TREE/$DEFAULT/RPMS echo "Making yum headers for `pwd`" yum-arch . if [ -x /usr/bin/repoview ] ; then createrepo -g $TREE/$DEFAULT/base/comps.xml . repoview -t "Scientific Linux $VERSION $ARCH Base" . fi cd $TREE/errata/$DEFAULT/RPMS echo "Making yum headers for `pwd`" yum-arch -l . if [ -x /usr/bin/repoview ] ; then createrepo . repoview -t "Scientific Linux $VERSION $ARCH Errata" . fi cd $TREE/contrib/RPMS echo "Making yum headers for `pwd`" yum-arch -l . else echo "You need to install the yum package" fi