#!/bin/sh #item ####description ###on off ### TMP=/var/log/setup/tmp if [ ! -d $TMP ]; then mkdir -p $TMP fi cat /dev/null > $TMP/SeTnewtag dialog --title "SELECTING PACKAGES FROM 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 \ "apsfilt" "APSfilter - very useful printer utility" "on" \ "a2ps" "Any to .ps filter (required by APSfilter)" "on" \ "ash" "A small /bin/sh type shell - 62K" "off" \ "bc" "GNU bc - arbitrary precision math language" "off" \ "cdparano" "Cdparanoia CD audio ripper" "off" \ "cdrdao" "Tool for burning audio CDRs" "off" \ "cdrtools" "CD-R mastering/burning tools" "off" \ "diff" "GNU diffutils" "on" \ "enscript" "A text to PostScript utility" "off" \ "ghostscr" "GNU Ghostscript version 5.50a" "on" \ "gsfonts" "Ghostscript fonts" "on" \ "groff" "GNU groff document formatting system" "on" \ "ispell" "The International version of ispell" "off" \ "jed" "JED programmer's editor" "on" \ "joe" "joe text editor, version 2.8" "on" \ "jove" "Jonathan's Own Version of Emacs text editor" "off" \ "ksh93" "KornShell language and interactive shell" "on" \ "lvm" "LVM (Logical Volume Manager)" "off" \ "man" "Primary tool for reading online documentation" "on" \ "manpages" "man pages (online docs -- requires groff)" "on" \ "mc" "The Midnight Commander file manager" "on" \ "mp3" "Command-line MP3 players" "on" \ "mt_st" "mt ported from BSD - controls tape drive" "on" \ "mysql" "MySQL database server" "off" \ "oggutils" "Ogg Vorbis encoder, player, and libraries" "on" \ "quota" "User disk quota utilities" "on" \ "raidtool" "MD (RAID) utilities" "on" \ "rpm" "Unsupported package tool" "on" \ "sc" "The 'sc' spreadsheet" "off" \ "screen" "GNU screen ANSI/vt100 virtual terminal emulator" "on" \ "seejpeg" "An SVGAlib image viewer" "on" \ "sox" "Sound utilities" "on" \ "sudo" "Allow special users limited root access" "off" \ "texinfo" "GNU texinfo documentation system" "on" \ "vim" "Improved vi clone" "on" \ "workbone" "a text-based audio CD player" "on" \ "zsh" "Zsh - a custom *nix shell" "on" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in a2ps apsfilt ash bc cdparano cdrdao cdrtools diff enscript ghostscr groff gsfonts \ ispell jed joe jove ksh93 lvm man manpages mc mp3 mt_st mysql oggutils quota raidtool rpm sc screen seejpeg \ sox sudo texinfo vim workbone zsh ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in a2ps apsfilt ash bc cdparano cdrdao cdrtools diff enscript ghostscr groff gsfonts \ ispell jed joe jove ksh93 lvm man manpages mc mp3 mt_st mysql oggutils quota raidtool rpm sc screen seejpeg \ sox sudo texinfo vim workbone 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