#!/bin/bash

. ${TOOLKIT}-functions.sh

case $DISTRIB_FULL_ID in
  Ubuntu-9.*) ;;
  *)	exit 0 ;;
esac

putwarning "INTERACTIVE ONLY" "
	This module is intended to be run interactively to manually
	accept the Sun JRE Licence Agreement, that CANNOT BE DONE in
	batch mode (will result in a broken dpkg database).
	A first 'dpkg-reconfigure debconf' will be launched, and you
	must select 'Dialog' and 'Critical' options.
	After the installation of JRE package, a reconfigure is called
	again, and you can select, if you want, 'Non interactive' to
	proceed with completely batch kusa."

echo -en "\nPress return "
read trush

dpkg-reconfigure debconf
