. $MYPWD/locations.include if [ -x /usr/bin/createrepo ] ; then # # Do the contrib RPMS # cd $TREE/contrib echo "Making yum headers for `pwd`" if [ -d .olddata ] ; then /bin/rm -r .olddata fi if [ -s comps-contrib.xml ] ; then createrepo -g comps-contrib.xml . else createrepo . fi if [ -d .olddata ] ; then /bin/rm -r .olddata fi repoview -t "Scientific Linux Contrib $VERSION $ARCH" . else echo "You need to install createrepo" fi