. locations.include
if [ -s ./buildinstall ] ; then
   sh ./buildinstall --pkgorder ../../base/pkgorder --version $VERSION --product "Scientific Linux $VERSION ($SITE)" --release $RELEASE --prodpath sites/$SITE $TREE
else
   if [ -s $ANACONDADIR/buildinstall ] ; then
      sh $ANACONDADIR/buildinstall --pkgorder ../../base/pkgorder --version $VERSION --product "Scientific Linux $VERSION ($SITE)" --release $RELEASE --prodpath sites/$SITE $TREE
   else
      echo "You need to have anaconda and anaconda-runtime installed"
   exit 1
   fi
fi
if [ ! -d $TREE/images/$SITE ] ; then
  cd $TREE/images
  ln -s ../sites/$SITE/images $SITE 
else
  echo "Directory $$TREE/images/$SITE  does not exist"
  exit 1
fi

if [ $ARCH == "ia64" ]; then

 echo "no customized boot images for $ARCH for now..."

else 
 if [ $ARCH == "x86_64" ]; then

  echo "no customized boot images for $ARCH for now..."
 
 else # i386
  echo "no customized boot images for $ARCH for now..."
 fi
fi
