#shell script to install giis.
clear
echo -e $"\n\t\t\tgET iT i sAY.giis"
echo -e $"\t\t\t-----------------"
echo -e $"\t\t\t   Version 2.1\n"
echo -e $"\n\t***Installing giis...."
echo -e $"\t***Compiling files....."
make
echo -e $"\t***Compilation completed."
mv ./giis /usr/bin
giis -i
   if [ $? -eq 2 ]; 
	then
	exit 2
   fi

echo -e $"\t***Setting up giis_config files..."
#Check for giis.conf
test -e /etc/giis.conf
   if [ $? -ne 0 ]; 
	then
	cat giis.config.in >> /etc/inittab
   fi
cp hai /etc/giis.conf
cp hai /giis/hai
cp quotes /giis/quotes

echo -e $"\n\t\t" 
echo -e $"\t Type giis -h for more."
