#! /bin/sh

exec /usr/pkg/bin/wish -f /pbulk/work/misc/dotfile/work/.destdir/usr/pkg/share/dotfile-2.4.1/Generator/dotfile.tcl /pbulk/work/misc/dotfile/work/.destdir/usr/pkg/share/dotfile-2.4.1/Generator /pbulk/work/misc/dotfile/work/.destdir/usr/pkg/share/dotfile-2.4.1 $1 $2
### if [ "$1" = ""  -o ! -d /pbulk/work/misc/dotfile/work/.destdir/usr/pkg/share/dotfile-2.4.1/$1  ]; then
### 
### 	echo "The folowing modules are installed:"
### 	cd /pbulk/work/misc/dotfile/work/.destdir/usr/pkg/share/dotfile-2.4.1
### 	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 "
###   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/pkg/bin/wish -f /pbulk/work/misc/dotfile/work/.destdir/usr/pkg/share/dotfile-2.4.1/Generator/dotfile.tcl /pbulk/work/misc/dotfile/work/.destdir/usr/pkg/share/dotfile-2.4.1/Generator /pbulk/work/misc/dotfile/work/.destdir/usr/pkg/share/dotfile-2.4.1/$1 $2
### fi
### 
