. 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`" if [ -s yumgroups.xml ] ; then createrepo -g yumgroups.xml . else createrepo . fi yum-arch . cd $TREE/errata/$DEFAULT/RPMS echo "Making yum headers for `pwd`" createrepo . yum-arch -l . cd $TREE/contrib/RPMS echo "Making yum headers for `pwd`" if [ -s yumgroups.xml ] ; then createrepo -g yumgroups.xml . else createrepo . fi yum-arch -l . else echo "You need to install the yum package" fi