Make installations work when no optional components are selected.

This commit is contained in:
Nathan Whitehorn 2011-03-02 15:41:00 +00:00
parent 93ed70f9b4
commit f7bd63a707

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