#!/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 X (XFree86 4.1.0)" \ --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 \ "lesstif" "A Motif clone" "on" \ "xaw3d" "A replacement for libXaw with a 3D look" "on" \ "xf86doc" "Documentation for XFree86 4.1.0" "on" \ "xf86html" "HTML documentation for XFree86 4.1.0" "off" \ "xf86prog" "Libraries and headers for X programming" "on" \ "xfnts" "Basic fonts needed to run X" "on" \ "xfnts100" "100dpi screen fonts" "off" \ "xfntscal" "Scalable Speedo/Type1 fonts" "on" \ "xfntscyr" "Cyrillic fonts" "off" \ "xfntslt2" "Latin-2 (ISO8859-2) 75/100dpi fonts" "off" \ "xfree86" "XFree86-4.1.0 main package" "on" \ "xnest" "Experimental nested X server" "off" \ "xprt" "Print-only X server" "off" \ "xvfb" "Virtual framebuffer X server" "off" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in lesstif xaw3d xf86doc xf86html \ xf86prog xfnts xfnts100 xfntscal xfntscyr \ xfntslt2 xfree86 xnest xprt xvfb ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in lesstif xaw3d xf86doc xf86html \ xf86prog xfnts xfnts100 xfntscal xfntscyr \ xfntslt2 xfree86 xnest xprt xvfb ; 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