#!/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 72 11 \ "acct" "Process accounting utilities" "off" \ "alsa-utils" "ALSA sound utilities" "on" \ "amp" "A command-line MP3 player" "on" \ "ash" "A small /bin/sh type shell" "off" \ "at" "Schedule commands to execute at a later time" "off" \ "aumix" "Audio mixer for the console or X" "on" \ "bc" "GNU bc - arbitrary precision math language" "off" \ "bpe" "Binary Patch (file) Editor" "off" \ "cdparanoia" "Cdparanoia CD audio ripper" "off" \ "cdrdao" "Tool for burning audio CDRs" "off" \ "cdrtools" "CD-R/RW mastering/burning tools" "off" \ "diffutils" "GNU diffutils - find file differences" "on" \ "dmapi" "Data Management API library for xfsdump" "on" \ "dvd+rw-tools" "DVD+/-R/RW mastering/burning tools" "off" \ "enscript" "A text to PostScript utility" "off" \ "espgs" "ESP Ghostscript PS/PDF interpreter" "on" \ "flac" "Free Lossless Audio Codec" "on" \ "gimp-print" "Additional printer drivers for gs and CUPS" "on" \ "gnu-gs-fonts" "Ghostscript fonts" "on" \ "groff" "GNU groff document formatting system" "on" \ "hpijs" "Hewlett-Packard inkjet drivers for Ghostscript" "on" \ "ispell" "The International version of ispell" "off" \ "jed" "JED programmer's editor" "on" \ "joe" "joe text editor" "on" \ "jove" "Jonathan's Own Version of Emacs text editor" "off" \ "ksh93" "KornShell language and interactive shell" "on" \ "linuxdoc-tools" "Utilities for DocBook/SGML documents" "on" \ "lm_sensors" "Hardware monitoring package" "on" \ "lsof" "A tool to list open files" "on" \ "madplay" "MPEG audio player" "off" \ "man" "Primary tool for reading online documentation" "on" \ "man-pages" "Online documentation (requires groff)" "on" \ "mc" "The Midnight Commander file manager" "on" \ "mdadm" "Utilities for managing MD (RAID) devices" "on" \ "most" "A pager, like 'more' or 'less'" "off" \ "mpg321" "A command-line MP3 player" "on" \ "mt-st" "mt ported from BSD - controls tape drive" "on" \ "mysql" "MySQL database server" "off" \ "normalize" "Normalize audio file volume" "on" \ "quota" "User disk quota utilities" "on" \ "raidtools" "MD (RAID) utilities" "on" \ "rexima" "Small console audio mixer" "on" \ "rpm" "RPM package tool (unsupported)" "on" \ "rzip" "A large file compression utility" "on" \ "sc" "The 'sc' spreadsheet" "off" \ "screen" "ANSI/vt100 virtual terminal emulator" "on" \ "sox" "Sound utilities" "on" \ "sudo" "Allow special users limited root access" "off" \ "sysstat" "System performance monitoring tools" "on" \ "texinfo" "GNU texinfo documentation system" "on" \ "vim" "Improved vi clone" "on" \ "vorbis-tools" "Ogg Vorbis encoder, player, and utilities" "on" \ "workbone" "a text-based audio CD player" "on" \ "xfsdump" "Backup/restore tools for the XFS filesystem" "off" \ "zsh" "Zsh - a custom *nix shell" "on" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in amp acct alsa-utils ash at aumix bc bpe cdparanoia cdrdao cdrtools diffutils enscript espgs flac gimp-print groff hpijs ispell jed joe jove ksh93 linuxdoc-tools lm_sensors lsof madplay man man-pages mc most mpg321 mt-st mysql normalize raidtools rexima rpm rzip sc screen sox sudo sysstat texinfo vim vorbis-tools workbone xfsdump zsh gnu-gs-fonts dmapi dvd+rw-tools mdadm quota ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in amp acct alsa-utils ash at aumix bc bpe cdparanoia cdrdao cdrtools diffutils enscript espgs flac gimp-print groff hpijs ispell jed joe jove ksh93 linuxdoc-tools lm_sensors lsof lvm madplay man man-pages mc most mpg321 mt-st mysql normalize raidtools rexima rpm rzip sc screen sox sudo sysstat texinfo vim vorbis-tools workbone xfsdump zsh gnu-gs-fonts dmapi dvd+rw-tools mdadm quota ; 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