View | Details | Raw Unified | Return to bug 250928 | Differences between
and this patch

Collapse All | Expand All

(-)b/usr.sbin/bsdinstall/scripts/script (+15 lines)
Lines 114-119 else Link Here
114
	bsdinstall mount
114
	bsdinstall mount
115
fi
115
fi
116
116
117
# Fetch distributions
118
test -d "$BSDINSTALL_DISTDIR" || mkdir -p $BSDINSTALL_DISTDIR
119
for set in $DISTRIBUTIONS; do
120
	f_dprintf "Checking if $set must be fetched"
121
	# Should any of the sets be missing, we fetch the distributions set
122
	if [ ! -f "$BSDINSTALL_DISTDIR/$set" ]; then
123
		f_dprintf "$set not found"
124
		DISTRIBUTIONS_SET_MISSING=yes
125
	fi
126
done
127
if [ "$DISTRIBUTIONS_SET_MISSING" == "yes" ]; then
128
	f_dprintf "Calling distfetch"
129
	bsdinstall distfetch || error
130
fi
131
117
# Unpack distributions
132
# Unpack distributions
118
bsdinstall checksum
133
bsdinstall checksum
119
if [ -t 0 ]; then
134
if [ -t 0 ]; then

Return to bug 250928