View | Details | Raw Unified | Return to bug 192195
Collapse All | Expand All

(-)usr.sbin/bsdinstall/scripts/auto (+19 lines)
Lines 101-106 Link Here
101
	exec 3>&-
101
	exec 3>&-
102
	test $MIRROR_BUTTON -eq 0 || error
102
	test $MIRROR_BUTTON -eq 0 || error
103
	export BSDINSTALL_DISTSITE
103
	export BSDINSTALL_DISTSITE
104
	_FR=`fetch -o - $BSDINSTALL_DISTSITE/MANIFEST` || error
105
106
	if [ -n "$_FR" ]; then
107
		DISTMENU=`echo "$_FR" | awk -F'\t' '!/^(kernel|base)/{print $4,$5,$6}'`
108
109
		exec 3>&1
110
		EXTRA_DISTS=$( eval dialog \
111
	    	--backtitle \"FreeBSD Installer\" \
112
	    	--title \"Distribution Select\" --nocancel --separate-output \
113
	    	--checklist \"Choose optional system components to install:\" \
114
	    	0 0 0 $DISTMENU \
115
		2>&1 1>&3 )
116
		for dist in $EXTRA_DISTS; do
117
			export DISTRIBUTIONS="$DISTRIBUTIONS $dist.txz"
118
			if [ ! -f $BSDINSTALL_DISTDIR/$dist ]; then
119
				FETCH_DISTRIBUTIONS="$FETCH_DISTRIBUTIONS $dist"
120
			fi
121
		done
122
	fi
104
fi
123
fi
105
124
106
rm -f $PATH_FSTAB
125
rm -f $PATH_FSTAB

Return to bug 192195