#!/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 E (GNU EMACS)" \ --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." 22 70 11 \ "emacs" "The base GNU Emacs 21.4a system" "on" \ "emacs-info" "Info (documentation) files for Emacs" "on" \ "emacs-leim" "Handles non-English languages and keyboards" "on" \ "emacs-lisp" "Lisp source files for Emacs 21.4a" "on" \ "emacs-misc" "Miscellaneous files for Emacs 21.4a" "on" \ "emacs-nox" "An emacs binary that does not require X" "on" \ 2> $TMP/SeTpkgs # If the user pressed cancel, or something bad happened then we # mark all packages as skipped and bail out. if [ $? = 1 -o $? = 255 ]; then rm -f $TMP/SeTpkgs # rm -f $TMP/SeTnewtag cat /dev/null > $TMP/SeTnewtag for PKG in emacs emacs-info emacs-leim emacs-lisp emacs-misc emacs-nox ; do echo "$PKG: SKP" >> $TMP/SeTnewtag done exit fi cat /dev/null > $TMP/SeTnewtag for PKG in emacs emacs-info emacs-leim emacs-lisp emacs-misc emacs-nox ; do if grep \"$PKG\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then echo "$PKG: ADD" >> $TMP/SeTnewtag else echo "$PKG: SKP" >> $TMP/SeTnewtag fi done rm -f $TMP/SeTpkgs