Explorar el Código

installer: check network configured on source

lxb hace 9 años
padre
commit
ca6559e8ba
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      installer.sh.in

+ 4 - 1
installer.sh.in

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