
#ident	"@(#)win:install/Install	1.7"

#
#	386 WINS Install Package
#
TMP=/tmp/win.ierr

ERROR1=" Errors have been written to the file $TMP."
NAME="`cat Name`"

rm -f $TMP > /dev/null 2>&1
echo "\n\n\tInstalling ${NAME} \n\n"

# all we need to do is copy the stuff into the right place

ROOT="/usr/src/wins"
echo "\tenter root directory to install source ($ROOT) > \c"
read answer
if [ "$answer" != "" ]
then
	ROOT=$answer
fi

echo "\n\tInstalling $NAME at $ROOT"
echo "\n\t\tPlease confirm [y/n] > \c"
read answer1
if [ "$answer1" != "y" ]
then
	echo "${NAME} Not Installed"
	exit 1
fi

cd user
find . -print | cpio -pdum $ROOT

cd ..
cp Makefile make.pre $ROOT

echo "done"

rm -f $TMP
