#!/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 (X Window System)" \ --checklist "Please select the packages you wish to install \ from series X. Recommended packages have already been selected. \ Required packages are marked with a *. \ Press ENTER when you are done." 20 74 11 \ "x11" "* Main X package" "on" \ "x11-devel" "Libraries and headers for X programming" "on" \ "x11-fonts-misc" "* Basic fonts needed to run X" "on" \ "x11-docs" "Documentation for X" "on" \ "x11-docs-html" "HTML documentation for X" "off" \ "x11-fonts-100dpi" "100dpi screen fonts" "off" \ "x11-fonts-scale" "Scalable Speedo/Type1 fonts" "on" \ "x11-fonts-cyrillic" "Cyrillic fonts" "off" \ "x11-xnest" "Experimental nested X server" "off" \ "x11-xprt" "Print-only X server" "off" \ "x11-xvfb" "Virtual framebuffer X server" "off" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in x11-docs x11-docs-html x11-devel \ x11-fonts-misc x11-fonts-100dpi x11-fonts-scale \ x11-fonts-cyrillic x11 x11-xnest x11-xprt x11-xvfb ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in x11-docs x11-docs-html x11-devel x11-fonts-misc \ x11-fonts-100dpi x11-fonts-scale x11-fonts-cyrillic x11 \ x11-xnest x11-xprt x11-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