#!/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 --backtitle "Slackware installer: package selection" --title "SELECTING PACKAGES FROM SERIES XAP (X APPLICATIONS)" \ --checklist "Please select the packages you wish to install from this series. \ 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." \ 20 70 10 \ "fluxbox" "Window manager based on blackbox" "on" \ "mozilla-firefox" "Mozilla Firefox web browser" "off" \ "xv" "XV GIF/TIFF/JPEG/PostScript Image Viewer" "on" \ 2> $TMP/SeTpkgs if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs > $TMP/SeTnewtag for pkg in \ fluxbox mozilla-firefox xv \ ; do echo "$pkg: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PACKAGE in \ fluxbox mozilla-firefox xv \ ; 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