#! /bin/sh 
#  src/showlicense
#   CubeOS Version 0.4.10
#   Copyright (C) 1999 Holger Kenn
#
#   CubeOS is free software; you can redistribute it and/or
#   modify it under the terms of the GNU Library General Public
#   License as published by the Free Software Foundation; either
#   version 2 of the License, or any later version.
#
#   CubeOS is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#   Library General Public License for more details.

more LICENSE
while true; do
echo "Do you accept these license terms?"
read answer
if [ "$answer". = "yes". ]; then
  echo yes >.license      
  exit
fi
if [ "$answer". = "no". ]; then
  exit 1
fi
echo "please enter \"yes\" or \"no\". "
done
