if [ -s locations.include ] ; then . locations.include else . $MYPWD/locations.include fi if [ -x /usr/bin/createrepo ] ; then cd $TREE/updates/security echo "Making yum headers for `pwd`" if [ -d .olddata ] ; then /bin/rm -r .olddata fi createrepo . if [ -d .olddata ] ; then /bin/rm -r .olddata fi # repoview -t "Scientific Linux Security Updates $VERSION $ARCH" . # removed because createrepo -d does not work else echo "You need to install createrepo" fi