if [ -s locations.include ] ; then . locations.include else . $MYPWD/locations.include fi 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 -d -g comps-contrib.xml . else createrepo -d . 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