#!/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.2)" \ --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 \ "x328514" "X server for cards using IBM8514 chips" "off" \ "x32agx" "X server for cards using AGX chips" "off" \ "x32ma8" "X server for cards using Mach8 chips" "off" \ "x32ma32" "X server for cards using Mach32 chips" "off" \ "x32ma64" "X server for cards using Mach64 chips" "off" \ "x32mono" "A Monochrome X server" "off" \ "x32p9k" "X server for cards using P9000 chips" "off" \ "x32s3" "X server for cards using S3 chips" "off" \ "x32s3v" "X server for cards using S3 ViRGE chips" "off" \ "x32svga" "X server for SuperVGA cards" "off" \ "x32vg16" "A 16-color generic X server" "off" \ "x32w32" "X server for cards using the ET4000/W32 chipset" "off" \ "x32i128" "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 fnon_1 fnt100_1 fvwmicns xlock fnon_2 oldlibs5 fnon_3 fnt100_2 \ x32html oldlibs6 x328514 x32agx x32cfg x32doc x32bin x32fcyr x32fnts1 \ x32ma8 x32fnts2 x32fscl xpm x32i128 x32ma32 x32lib x32ma64 x32mono x32man \ x32nest x32p9k x32prog x32s3 x32ps x32s3v x32vg16 x32setup x32svga x32vfb \ x32w32 ; do echo "$pkg: SKP" >> /tmp/SeTnewtag done exit fi cat /dev/null > /tmp/SeTnewtag for PACKAGE in x328514 x32agx x32ma8 x32ma32 x32ma64 x32mono x32p9k \ x32s3 x32svga x32vg16 x32w32 x32i128 x32s3v ; 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.2)" \ --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 \ "x32doc" "Documentation for XFree86 3.2" "off" \ "x32html" "HTML format docs for XFree86 3.2" "off" \ "x32ps" "PostScript format docs for XFree86 3.2" "off" \ "fvwmicns" "Color icons from xpm3icons.tar.Z" "off" \ "x32setup" "TCL/dialog setup tool for X" "off" \ "x32man" "Man pages for XFree86 3.2" "on" \ "x32cfg" "XDM configuration, chooser, and FVWM" "on" \ "x32bin" "Basic client binaries required for X" "on" \ "x32prog" "Header files for X programming" "on" \ "x32lib" "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" \ "x32fnts1" "Basic fonts needed to run X, part one" "on" \ "x32fnts2" "Basic fonts needed to run X, part two" "on" \ "fnt100_1" "100 dpi fonts, part one" "off" \ "fnt100_2" "100 dpi fonts, part two" "off" \ "fnon_1" "Big fonts, part one" "off" \ "fnon_2" "Big fonts, part two" "off" \ "fnon_3" "Big fonts, part three" "off" \ "x32fcyr" "Cyrillic fonts" "off" \ "x32fscl" "Scalable Speedo/Type1 fonts" "off" \ "x32nest" "Experimental nested X server" "off" \ "x32vfb" "Virtual framebuffer 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 x32doc fvwmicns x32cfg x32bin x32prog \ x32lib x32man oldlibs5 oldlibs6 xpm x32fnts1 x32fnts2 \ x32setup x32ps x32nest x32html fnt100_1 fnt100_2 \ fnon_1 fnon_2 fnon_3 x32fscl x32fcyr xlock x32vfb ; 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