#/bin/sh

# 
# when R CMD build, this will create zideal.RData
#

# I think cleanup is ALSO run during R CMD INSTALL. We do not want this 
# to run on the user computer. 
# so check if host is part of hmdc.harvard.edu
#
 
H=`hostname`
	if echo $H | grep "w[0-9].hmdc.harvard.edu" > /dev/null
then
	R --vanilla --slave < inst/zideal/zvcServer.R
fi


