home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #item ####description ###on off ###
- TMP=/var/log/setup/tmp
- if [ ! -d $TMP ]; then
- mkdir -p $TMP
- fi
- rm -rf $TMP/SeTnewtag
- rm -rf $TMP/SeTpkgs
- cat /dev/null > $TMP/SeTnewtag
- dialog --title "SELECTING PACKAGES FROM SERIES TCL (Tcl/Tk/TclX)" \
- --checklist "Please select the packages you wish to install \
- from series TCL. Use the \
- UP/DOWN keys to scroll through the list, and the SPACE key to select \
- the packages you wish to install. Recommended packages have \
- already been selected for you, but you may unselect them if you wish. \
- Press ENTER when you are \
- done." 15 70 4 \
- "tcl" "The TCL script language" "on" \
- "tk" "The TK toolkit for TCL" "on" \
- "tclx" "Extended Tcl" "on" \
- "hfsutils" "Tools for reading/writing Macintosh volumes" "off" \
- 2> $TMP/SeTpkgs
- if [ $? = 1 -o $? = 255 ]; then
- rm -rf $TMP/SeTpkgs
- > $TMP/SeTnewtag
- for pkg in hfsutils tcl tk tclx tkdesk ; do
- echo "$pkg: SKP" >> $TMP/SeTnewtag
- done
- exit
- fi
- cat /dev/null > $TMP/SeTnewtag
- for PACKAGE in hfsutils tcl tk tclx tkdesk ; do
- if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
- echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
- else
- echo "$PACKAGE: SKP" >> $TMP/SeTnewtag
- fi
- done
- rm -f $TMP/SeTpkgs
-