#!/bin/sh #item ####description ###on on ### TMP=/var/log/setup/tmp if [ ! -d $TMP ]; then mkdir -p $TMP fi cat /dev/null > $TMP/SeTnewtag dialog --title "SELECTING PACKAGES FROM SERIES C (COMPATABILITY)" \ --checklist "Please select the packages you wish to install \ from series C. 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 \ "32atk" "32-bit ATK library" "on" \ "32base" "32-bit base libraries" "on" \ "32cairo" "32-bit cairo libraries" "on" \ "32gtk+" "32-bit GTK+ libraries" "on" \ "32gtk+2" "32-bit GTK+2 libraries" "on" \ "32pango" "32-bit pango library" "on" \ "32x11" "32-bit X11 libraries" "on" \ "linux32" "Wrapper for 32-bit executables" "on" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in 32atk 32base 32cairo 32gtk+ 32gtk+2 32pango 32x11 linux32 ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in 32atk 32base 32cairo 32gtk+ 32gtk+2 32pango 32x11 linux32 ; 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