home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #item ####description ###on off ###
- rm -f /tmp/SeTnewtag # empty the return file
- dialog --title "SELECTING PACKAGES FOR SERIES AP (APPLICATIONS)" \
- --checklist "Please select the packages you wish to install \
- from series AP. 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." 22 70 11 \
- "ispell" "The International version of ispell (3.1.08)" "on" \
- "jove" "Jonathan's Own Version of Emacs text editor" "on" \
- "man" "On-line manual pages" "on" \
- "manpgs" "More man pages" "on" \
- "diff" "GNU diffutils" "on" \
- "sudo" "Allow special users limited root access" "on" \
- "termbin" "The executable files for term 2.3.5" "on" \
- "termnet" "ttelnet, tfinger, and tncftp for term" "on" \
- "termsrc" "SOURCE code for term 2.3.5" "on" \
- "ghostscr" "GNU Ghostscript version 2.6.1" "on" \
- "gsfonts1" "Fonts for the Postscript interpreter" "on" \
- "gsfonts2" "More fonts for the Postscript interpreter" "on" \
- "jed" "JED programmer's editor" "on" \
- "joe" "joe text editor, version 2.2" "on" \
- "jpeg" "JPEG image compression utilities" "on" \
- "bc" "GNU bc - arbitrary precision math language" "on" \
- "workbone" "a text-based audio CD player" "on" \
- "ftape" "floppy controller tape drive support" "on" \
- "mc" "The Midnight Commander file manager" "on" \
- "mt_st" "mt ported from BSD - controls tape drive" "on" \
- "gp9600" "Changes the default modem speed" "on" \
- "groff" "GNU troff 1.09 document formatting system" "on" \
- "quota" "quota and accounting utils" "on" \
- "sc" "The 'sc' spreadsheet" "on" \
- "shlbsvga" "Shared svga library" "on" \
- "texinfo" "GNU texinfo documentation system" "on" \
- "vim" "Improved vi clone" "on" \
- "ash" "A small /bin/sh type shell - 62K" "off" \
- "zsh" "Zsh - a custom *nix shell" "off" \
- 2> /tmp/SeTpkgs
- if [ $? = 1 -o $? = 255 ]; then
- rm -f /tmp/SeTpkgs
- exit
- fi
- cat /dev/null > /tmp/SeTnewtag
- for PACKAGE in ispell jove man manpgs termbin termsrc bc \
- gp9600 groff quota sc workbone ghostscr gsfonts1 joe gsfonts2 ftape \
- mc jpeg shlbsvga termnet ash jed mt_st texinfo vim sudo diff zsh ; 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
-