#!/bin/sh add() { for package in $* ; do echo "$package: ADD" >> /tmp/SeTnewtag done } skip() { for package in $* ; do echo "$package: SKP" >> /tmp/SeTnewtag done } #item ####description ###on off ### cat /dev/null > /tmp/SeTnewtag dialog --title "SELECTING X SERVER FROM SERIES X (XFree86 3.3.1)" \ --checklist "Please select the X server you wish to install \ from series X. \ In most cases, you'll only want to \ install the X server needed for your video card, but if you plan to \ export your /usr partition via NFS, you may need other servers as well. \ Press ENTER when you are \ done." 22 70 11 \ "x3318514" "X server for cards using IBM8514 chips" "off" \ "x331agx" "X server for cards using AGX chips" "off" \ "x331ma8" "X server for cards using Mach8 chips" "off" \ "x331ma32" "X server for cards using Mach32 chips" "off" \ "x331ma64" "X server for cards using Mach64 chips" "off" \ "x331mono" "A Monochrome X server" "off" \ "x331p9k" "X server for cards using P9000 chips" "off" \ "x331s3" "X server for cards using S3 chips" "off" \ "x331s3v" "X server for cards using S3 ViRGE chips" "off" \ "x331svga" "X server for SuperVGA cards" "off" \ "x331vg16" "A 16-color generic X server" "off" \ "x331w32" "X server for cards using the ET4000/W32 chipset" "off" \ "x331i128" "X server for the #9 Imagine 128" "off" \ 2> /tmp/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f /tmp/SeTpkgs > /tmp/SeTnewtag for pkg in fvwm fvwmicns oldlibs5 oldlibs6 x3318514 x331agx x331bin x331cfg \ x331doc x331f100 x331fcyr x331fno1 x331fno2 x331fnts x331fscl x331fsrv \ x331html x331i128 x331jdoc x331lib x331ma32 x331ma64 x331ma8 x331man \ x331mono x331nest x331p9k x331prog x331prt x331ps x331s3 x331s3v x331set \ x331svga x331vfb x331vg16 x331w32 xlock xpm ; do echo "$pkg: SKP" >> /tmp/SeTnewtag done exit fi cat /dev/null > /tmp/SeTnewtag for PACKAGE in x3318514 x331agx x331ma8 x331ma32 x331ma64 x331mono x331p9k \ x331s3 x331svga x331vg16 x331w32 x331i128 x331s3v ; 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 dialog --title "SELECTING PACKAGES FROM SERIES X (XFree86 3.3.1)" \ --checklist "Please select the packages you wish to install \ from series X. \ Recommended packages have already been selected. \ Press ENTER when you are \ done." 21 70 12 \ "fvwm" "FVWM window manager" "on" \ "x331doc" "Documentation for XFree86 3.3.1" "off" \ "x331jdoc" "Japanese documentation for X" "off" \ "x331html" "HTML format docs for XFree86 3.3.1" "off" \ "x331ps" "PostScript format docs for XFree86 3.3.1" "off" \ "fvwmicns" "Color icons from xpm3icons.tar.Z" "off" \ "x331set" "TCL/dialog setup tool for X" "off" \ "x331man" "Man pages for XFree86 3.3.1" "on" \ "x331cfg" "xdm and other X configuration files" "on" \ "x331bin" "Basic client binaries required for X" "on" \ "x331prog" "Header files for X programming" "on" \ "x331lib" "Libraries and bitmaps for X" "on" \ "oldlibs5" "XFree86 2.1.1 shared libraries" "on" \ "oldlibs6" "XFree86 3.1.1 shared libraries" "on" \ "xpm" "The Xpm shared library" "on" \ "x331fnts" "Basic fonts needed to run X" "on" \ "x331f100" "100 dpi fonts" "off" \ "x331fno1" "Big fonts, part one" "off" \ "x331fno2" "Big fonts, part two" "off" \ "x331fcyr" "Cyrillic fonts" "off" \ "x331fscl" "Scalable Speedo/Type1 fonts" "off" \ "x331fsrv" "X font server" "off" \ "x331nest" "Experimental nested X server" "off" \ "x331vfb" "Virtual framebuffer X server" "off" \ "x331prt" "Print-only X server" "off" \ "xlock" "A screensaver/locker for X" "on" \ 2> /tmp/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f /tmp/SeTpkgs exit fi for PACKAGE in fvwm fvwmicns oldlibs5 oldlibs6 x331bin x331cfg x331doc \ x331f100 x331fcyr x331fno1 x331fno2 x331fnts x331fscl x331fsrv x331html \ x331jdoc x331lib x331man x331nest x331prog x331prt x331ps x331set x331vfb \ xlock xpm ; 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