installer: check network configured on source

This commit is contained in:
lxb 2016-01-29 17:49:48 -05:00
parent 62406cba3f
commit ca6559e8ba
1 changed files with 4 additions and 1 deletions

View File

@ -947,7 +947,10 @@ menu_source() {
"Network" "Packages from official remote reposity" "Network" "Packages from official remote reposity"
case "$(cat $ANSWER)" in case "$(cat $ANSWER)" in
"Local") src="local";; "Local") src="local";;
"Network") src="net"; menu_network;; "Network") src="net";
if [ -z "$NETWORK_DONE" ]; then
menu_network;
fi;;
*) return 1;; *) return 1;;
esac esac
SOURCE_DONE=1 SOURCE_DONE=1