#! /bin/sh

exec /usr/bin/wish -f /usr/share/dotfile/Generator/dotfile.tcl /usr/share/dotfile/Generator /usr/share/dotfile $1 $2
### if [ "$1" = ""  -o ! -d /usr/share/dotfile/$1  ]; then
### 
### 	echo "The folowing modules are installed:"
### 	cd /usr/share/dotfile
### 	for file in *; do
### 		if [ $file != "Generator" ]; then
### 			echo -n "  $file -- "
### 			if [ -f $file/info ]; then
### 				cat $file/info
### 			else
### 				echo ""
### 			fi
### 		fi
### 	done
### 	echo ""
### 	echo "To start the Dotfile Generator type $0 <module name>"
### 	echo "Eg. \"$0 emacs\" to configure emacs."
###   echo ""
###   echo "The Dotfile Generator supports multiple languages"
###   echo "to select a language different from the default, which is english"
###   echo "please set the environment variable LANG to:"
###   echo "jp - for japanese"
###   echo "en - for english"
###   echo "with one of the commands (the example is for japanese):"
###   echo "sh,bash,ksh: LANG=jp;export LANG jp"
###   echo "csh,tcsh:    setenv LANG jp"
### 	echo ""
### 	echo "For more information on the Dotfile Generator or modules for it"
### 	echo "please refer to the following URL on the World Wide Web:"
### 	echo "http://www.imada.ou.dk/~blackie/dotfile/"
### 	echo ""
### else
### 	exec /usr/bin/wish -f /usr/share/dotfile/Generator/dotfile.tcl /usr/share/dotfile/Generator /usr/share/dotfile/$1 $2
### fi
### 
