#!/bin/sh
#
# This script should be run by each user who want's to use XView!
# It copies a default XView-Environment to the user's home directory.
#
# (c) by Valentino Kyriakides
#
# Author: Valentino Kyriakides

echo "This script copies a default XView-Environment to "
echo "your home directory, some .X* files will be overwriten."
echo
echo "Do you want to have the XView defaults (y/n) ? \c"
read ans
case $ans in
  'y'|'Y') 
# Copy the defaultEnv stuff into the user's home directory.
cp -i /usr/lib/XVdefaultEnv/.openwin-menu   $HOME
cp -i /usr/lib/XVdefaultEnv/.Xdefaults 	  $HOME
cp -i /usr/lib/XVdefaultEnv/.xinitrc  	  $HOME
echo "A default XView-Environment has been copied!" ;;
  *)
echo "Nothing copied, bye."
esac








