This is the readme file for package xdebconfigurator. 
############################################################
The package contains the following scripts:
(/usr/sbin/)
xdebconfigurator
Xdriver.pl

This README file is stored in:
(/usr/share/doc/xdebconfigurator/)
############################################################

This package was made to allow xserver-xfree86 be
installed noninteractively on a debian box, for a 
norwegian project called "skolelinux".
See http://www.skolelinux.no

############################################################
Example implementation with this base-config script:

#!/bin/sh -e
#
# This script will run Xdebconfigurator to set values in the debconf-db.
# Next it will run dexconf to write a new XF86Config-4 file.

fil="/usr/sbin/xdebconfigurator"
dexconf="/usr/bin/dexconf"
xserver_installed=$( dpkg -s xserver-xfree86 | awk '/Status\:/ {print $4}' )
# echo $xserver_installed
if [ $xserver_installed = "installed" ]; then
  if [ -x $fil ]; then 
    # run Xdebconfigurator
    $fil -d -c -i -k 
  fi
  if [ -x $dexconf ] 
    then
     # run dexconf, and keep going even if it fails.
     if $dexconf; then
       true
     else
       echo "Failed to run $dexconf."
       echo "Report the bug and press any key to continue"
       read
     fi
  fi
fi
								      
