Author: jaeger Date: 2006-04-30 19:46:16 +0200 (Sun, 30 Apr 2006) New Revision: 1328 Modified: crux-2.2/iso/bin/setup Log: setup: BASE_LIST renamed to CORE_LIST for consistency's sake Modified: crux-2.2/iso/bin/setup =================================================================== --- crux-2.2/iso/bin/setup 2006-04-30 11:05:22 UTC (rev 1327) +++ crux-2.2/iso/bin/setup 2006-04-30 17:46:16 UTC (rev 1328) @@ -84,19 +84,19 @@ if [ "$ACTION" = "INSTALL" ]; then # Install TITLE="Select packages to install:" - BASE_LIST=`find core -name '*.pkg.tar.gz' -printf '%f (core) ON\n' | sed 's/.pkg.tar.gz//g' | sort | xargs echo ' '` + CORE_LIST=`find core -name '*.pkg.tar.gz' -printf '%f (core) ON\n' | sed 's/.pkg.tar.gz//g' | sort | xargs echo ' '` OPT_LIST=`find opt -name '*.pkg.tar.gz' -printf '%f (opt) ON\n' | sed 's/.pkg.tar.gz//g' | sort | xargs echo ' '` else # Upgrade TITLE="Select packages to upgrade:" INSTALLED_PACKAGES=`pkginfo -r $ROOT -i | gawk '{ print $1; }'` for package in $INSTALLED_PACKAGES; do - BASE_LIST="$BASE_LIST `find core -name \"${package}#*.pkg.tar.gz\" -printf '%f (core) ON\n' | sed 's/.pkg.tar.gz/ /g' | sort | xargs echo ' '`" + CORE_LIST="$CORE_LIST `find core -name \"${package}#*.pkg.tar.gz\" -printf '%f (core) ON\n' | sed 's/.pkg.tar.gz/ /g' | sort | xargs echo ' '`" OPT_LIST="$OPT_LIST `find opt -name \"${package}#*.pkg.tar.gz\" -printf '%f (opt) ON\n' | sed 's/.pkg.tar.gz/ /g' | sort | xargs echo ' '`" done fi - do_select --separate-output --checklist "$TITLE" 19 60 12 $BASE_LIST $OPT_LIST 2> $pkgfile + do_select --separate-output --checklist "$TITLE" 19 60 12 $CORE_LIST $OPT_LIST 2> $pkgfile } confirm() {