Make installations work when no optional components are selected.

This commit is contained in:
nwhitehorn 2011-03-02 15:41:00 +00:00
parent 3ba18a4657
commit c8fdcb6d86

View File

@ -66,7 +66,7 @@ EXTRA_DISTS=$(echo $DISTMENU | xargs dialog --backtitle "FreeBSD Installer" \
--checklist "Choose optional system components to install:" \
0 0 0 \
2>&1 1>&3)
DISTRIBUTIONS="base.txz kernel.txz"
export DISTRIBUTIONS="base.txz kernel.txz"
for dist in $EXTRA_DISTS; do
export DISTRIBUTIONS="$DISTRIBUTIONS $dist.txz"
done