#!/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 XD (X SERVER DEVELOPMENT)" \ --checklist "Please select the package you wish to install \ from series XD. \ Use the SPACE key to select \ the package, \ and press ENTER when you are \ done." 10 70 1 \ "xlkit" "XFree86 3.3.3.1 Linkkit" "off" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in xlkit ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in xlkit ; 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