home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BURKS 2
/
BURKS_AUG97.ISO
/
SLAKWARE
/
TCL1
/
MAKETAG
< prev
next >
Wrap
Text File
|
1997-04-19
|
1KB
|
34 lines
#!/bin/sh
#item ####description ###on off ###
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" \
"tkdesk" "TkDesk X File Manager" "on" \
2> /tmp/SeTpkgs
if [ $? = 1 -o $? = 255 ]; then
rm -f /tmp/SeTpkgs
> /tmp/SeTnewtag
for pkg in tcl tk tclx tkdesk ; do
echo "$pkg: SKP" >> /tmp/SeTnewtag
done
exit
fi
cat /dev/null > /tmp/SeTnewtag
for PACKAGE in 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